summaryrefslogtreecommitdiffstats
path: root/arch/frv/include/asm/mb86943a.h
diff options
context:
space:
mode:
authorSachin Kamat2012-09-25 11:57:13 +0200
committerDavid Woodhouse2012-10-10 10:12:39 +0200
commit5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc (patch)
treed1304c5c2f798c9ddf69c18ecb1f40969e5e8b62 /arch/frv/include/asm/mb86943a.h
parentmtd: nand: fix Samsung SLC NAND identification regression (diff)
downloadkernel-qcow2-linux-5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc.tar.gz
kernel-qcow2-linux-5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc.tar.xz
kernel-qcow2-linux-5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc.zip
mtd: ofpart: Fix incorrect NULL check in parse_ofoldpart_partitions()
The pointer returned by kzalloc should be tested for NULL to avoid potential NULL pointer dereference later. Incorrect pointer was being tested for NULL. Bug introduced by commit fbcf62a3 (mtd: physmap_of: move parse_obsolete_partitions to become separate parser). This patch fixes this bug. Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> Cc: Artem Bityutskiy <artem.bityutskiy@intel.com> Cc: stable@kernel.org Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'arch/frv/include/asm/mb86943a.h')
0 files changed, 0 insertions, 0 deletions