fixdep bin2c rel='stylesheet' type='text/css' href='/cgit.css'/>
summaryrefslogtreecommitdiff
path: root/drivers/mtd/nftlmount.c
AgeCommit message (Collapse)Author
2015-01-09mtd: nftl: reorganize operations in condition checkAndy Shevchenko
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>