Re: [PATCH] iscsi-target: fix panic when add the second TCP connection to iSCSI session

2016-07-11 Thread
This problem exists at least from v3.16. The upstream kernel still exists this issue. I have tested my patch and the following panic is disappeared. Thanks, - Alex #dmesg [ 1160.788676] sd 16:0:0:0: [sde] Attached SCSI disk [ 1383.962626] target_core_get_fabric() failed for usb_gadget [

[PATCH] drivers/scsi: fix macro in sg

2015-06-25 Thread
This patch fix the macro transport_class_to_sdev to the resonable name and use the macro. Signed-off-by: vonnyfly lifeng1...@gmail.com --- drivers/scsi/sg.c |6 +++--- include/scsi/scsi_device.h |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git