summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_of_platform.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2015-02-27 03:54:13 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-26 13:59:51 +0100
commit6d6efc403b0b939d3175ad2621b16f67d59ad0ed (patch)
tree544f577a9ea5ea0f4246cd05e326d9a404450602 /drivers/ata/pata_of_platform.c
parentfcb556db57dc2e83ea8e1c7310b13aff045f367a (diff)
target/pscsi: Fix NULL pointer dereference in get_device_type
commit 215a8fe4198f607f34ecdbc9969dae783d8b5a61 upstream. This patch fixes a NULL pointer dereference OOPs with pSCSI backends within target_core_stat.c code. The bug is caused by a configfs attr read if no pscsi_dev_virt->pdv_sd has been configured. Reported-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/pata_of_platform.c')
0 files changed, 0 insertions, 0 deletions