RE: [PATCH] scsi: storvsc_device_destroy NULL pointer fix

2014-02-27 Thread KY Srinivasan
Subject: [PATCH] scsi: storvsc_device_destroy NULL pointer fix > > If the initialization of storvsc fails, the storvsc_device_destroy() causes > NULL > pointer dereference. > > storvsc_bus_scan() > scsi_scan_target() > __scsi_scan_target() > scsi_probe_and_

[PATCH] scsi: storvsc_device_destroy NULL pointer fix

2014-02-27 Thread Ales Novak
If the initialization of storvsc fails, the storvsc_device_destroy() causes NULL pointer dereference. storvsc_bus_scan() scsi_scan_target() __scsi_scan_target() scsi_probe_and_add_lun(hostdata=NULL) scsi_alloc_sdev(hostdata=NULL) sdev->hostdata = hostdata