[PATCH] mtd: cfi_cmdset_0002: check return code for get_chip()
Brian Norris
computersforpeace at gmail.com
Fri Aug 15 18:16:33 PDT 2014
On Thu, Aug 14, 2014 at 10:30:32AM +0200, Christian Riesch wrote:
> Hi Brian,
> Thanks for catching this!
Don't thank me, thank Coverity (TM)! (And Dave Jones, I guess, since he
maintains the project instance.)
> On Thu, Aug 14, 2014 at 8:35 AM, Brian Norris
> <computersforpeace at gmail.com> wrote:
> > Untested
> >
> > Coverity CID 1230633
> >
> > Signed-off-by: Brian Norris <computersforpeace at gmail.com>
> > Cc: Christian Riesch <christian.riesch at omicron.at>
> > ---
> > drivers/mtd/chips/cfi_cmdset_0002.c | 4 ++++
> > 1 file changed, 4 insertions(+)
>
> Tested-by: Christian Riesch <christian.riesch at omicron.at>
Thanks! Queued to linux-mtd.git/master. It'll probably go in 3.16, as
it's a fix for a new feature.
Brian
[1] http://codemonkey.org.uk/2014/08/05/linux-316-coverity-stats/
More information about the linux-mtd
mailing list