aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPeng Wu <wupeng58@huawei.com>2022-05-20 08:44:25 +0000
committerMiquel Raynal <miquel.raynal@bootlin.com>2022-06-06 14:58:24 +0200
commit18178e03b124b0c6be17abbbca914157642f5d7a (patch)
tree77be9107c2cfb40e85a1ef705f1c47bb326fba3e /lib/test_fortify/write_overflow-strncpy-src.c
parentf2906aa863381afb0015a9eb7fefad885d4e5a56 (diff)
mtd: rawnand: cafe: fix drivers probe/remove methods
Driver should call pci_disable_device() if it returns from cafe_nand_probe() with error. Meanwhile, the driver calls pci_enable_device() in cafe_nand_probe(), but never calls pci_disable_device() during removal. Signed-off-by: Peng Wu <wupeng58@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20220520084425.116686-1-wupeng58@huawei.com
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions