Re: [Uclinux-dist-devel] [PATCH 5/5] Blackfin SPI: clean up error handling in client setup

From: Mike Frysinger
Date: Thu Oct 01 2009 - 00:28:04 EST


On Thu, Sep 17, 2009 at 19:47, Mike Frysinger <vapier@xxxxxxxxxx> wrote:
> From: Yi Li <yi.li@xxxxxxxxxx>
>
> Make sure we don't leak peripheral/gpio resources when an error occurs
> during setup, and make sure we don't call kfree() twice on the same
> object. ÂAlso add/fix some error messages in the process.

not sure if you've picked any of these changes up David, but if you
havent, please skip this last patch. it needs some updating as it
introduces at least one NULL ptr deref in the error path.
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/