diff options
author | 2010-08-28 16:42:04 -0400 | |
---|---|---|
committer | 2010-09-13 08:49:03 +0100 | |
commit | 8b865d5efd9205b131dd9a43a6f450c05d38aaa1 (patch) | |
tree | f84291bbbda866bcd86227d5ecc369d52583a7bc /arch/x86/mm/fault.c | |
parent | mtd: Blackfin NFC: fix build error after nand_scan_ident() change (diff) | |
download | linux-dev-8b865d5efd9205b131dd9a43a6f450c05d38aaa1.tar.xz linux-dev-8b865d5efd9205b131dd9a43a6f450c05d38aaa1.zip |
mtd: Blackfin NFC: fix invalid free in remove()
Since info->mtd isn't dynamically allocated, we shouldn't attempt to
kfree() it. Otherwise we get random fun corruption when unloading
the driver built as a module.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/x86/mm/fault.c')
0 files changed, 0 insertions, 0 deletions