aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <ezequiel@vanguardiasur.com.ar>2016-04-01 18:29:24 -0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2016-04-19 22:04:52 +0200
commit11eaf6df1cce3c5e9f51b422aaedc42dc4aa1d37 (patch)
tree45dd6ca39e8033b655afd98cfa6d18bad79a83d5 /include/linux
parentmtd: gpmi: fix raw_buffer pointer double free issue (diff)
downloadlinux-dev-11eaf6df1cce3c5e9f51b422aaedc42dc4aa1d37.tar.xz
linux-dev-11eaf6df1cce3c5e9f51b422aaedc42dc4aa1d37.zip
mtd: nand: Remove BUG() abuse in nand_scan_tail
There's no reason to BUG() when parameters are being validated. Drivers can get things wrong, and it's much nicer to just throw a noisy warn and fail gracefully, than calling BUG() and throwing the whole system down the drain. Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Reviewed-by: Richard Weinberger <richard@nod.at> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions