summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2015-01-07 21:37:20 +0100
committerBrian Norris <computersforpeace@gmail.com>2015-01-10 00:26:29 +0100
commit768c57c8d7df479aa27330d629b4e41f9c19b22c (patch)
tree183fa4d0d6a0b3f9e0bfc87861a5138979a77e46 /arch/arm/mach-realview
parentmtd: nand: remove duplicate comment line (diff)
downloadlinux-768c57c8d7df479aa27330d629b4e41f9c19b22c.tar.xz
linux-768c57c8d7df479aa27330d629b4e41f9c19b22c.zip
mtd: nftl: reorganize operations in condition check
We need to compare ret variable for negative value. The current code assigns the boolean to the ret and prints it wrongly in the warning message. Reported-by: Andrey Karpov <karpov@viva64.com> Cc: Giel van Schijndel <me@mortis.eu> Cc: Dimitri Gorokhovik <dimitri.gorokhovik@free.fr> Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'arch/arm/mach-realview')
0 files changed, 0 insertions, 0 deletions