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:
1779935
)
mtd: nand_bbt: unify/fix error handling in nand_scan_bbt()
author
Brian Norris
<computersforpeace@gmail.com>
Sat, 28 Feb 2015 10:13:12 +0000
(
02:13
-0800)
committer
Brian Norris
<computersforpeace@gmail.com>
Thu, 7 May 2015 03:02:36 +0000
(20:02 -0700)
Don't leak this->bbt, and return early if check_create() fails. It helps
to have a single error path to avoid these problems.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_bbt.c
patch
|
blob
|
history
diff --cc
drivers/mtd/nand/nand_bbt.c
Simple merge