aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <[email protected]>2016-04-01 21:29:23 +0000
committerBrian Norris <[email protected]>2016-04-03 06:03:51 +0000
commit20c07a5bf094198ff2382aa5e7c930b3c9807792 (patch)
tree9e38aa340a4a570c79d21b822eafec67df13eb36 /net/switchdev/switchdev.c
parentLinux 4.6-rc1 (diff)
downloadkernel-20c07a5bf094198ff2382aa5e7c930b3c9807792.tar.gz
kernel-20c07a5bf094198ff2382aa5e7c930b3c9807792.zip
mtd: nand: Drop mtd.owner requirement in nand_scan
Since commit 807f16d4db95 ("mtd: core: set some defaults when dev.parent is set"), it's now legal for drivers to call nand_scan and nand_scan_ident without setting mtd.owner. Drop the check and while at it remove the BUG() abuse. Fixes: 807f16d4db95 ("mtd: core: set some defaults when dev.parent is set") Signed-off-by: Ezequiel Garcia <[email protected]> Acked-by: Boris Brezillon <[email protected]> [Brian: editorial note - while commit 807f16d4db95 wasn't explicitly broken, some follow-up commits in the v4.4 release broke a few drivers, since they would hit this BUG() if they used nand_scan() and were built as modules] Signed-off-by: Brian Norris <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions