git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f5ef1
)
mtd: nftl: reorganize operations in condition check
author
Andy Shevchenko
<andy.shevchenko@gmail.com>
Wed, 7 Jan 2015 20:37:20 +0000
(22:37 +0200)
committer
Brian Norris
<computersforpeace@gmail.com>
Fri, 9 Jan 2015 23:26:29 +0000
(15:26 -0800)
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>
drivers/mtd/nftlmount.c
patch
|
blob
|
history
diff --cc
drivers/mtd/nftlmount.c
Simple merge