Loading drivers/scsi/scsi_debug.c +18 −19 Original line number Diff line number Diff line Loading @@ -2059,7 +2059,7 @@ static struct sdebug_dev_info * devInfoReg(struct scsi_device * sdev) return NULL; } } if (open_devip) { open_devip->channel = sdev->channel; open_devip->target = sdev->id; open_devip->lun = sdev->lun; Loading @@ -2075,10 +2075,9 @@ static struct sdebug_dev_info * devInfoReg(struct scsi_device * sdev) } if (sdev->lun == SAM2_WLUN_REPORT_LUNS) open_devip->wlun = SAM2_WLUN_REPORT_LUNS & 0xff; return open_devip; } return NULL; } static void mk_sense_buffer(struct sdebug_dev_info * devip, int key, int asc, int asq) Loading Loading
drivers/scsi/scsi_debug.c +18 −19 Original line number Diff line number Diff line Loading @@ -2059,7 +2059,7 @@ static struct sdebug_dev_info * devInfoReg(struct scsi_device * sdev) return NULL; } } if (open_devip) { open_devip->channel = sdev->channel; open_devip->target = sdev->id; open_devip->lun = sdev->lun; Loading @@ -2075,10 +2075,9 @@ static struct sdebug_dev_info * devInfoReg(struct scsi_device * sdev) } if (sdev->lun == SAM2_WLUN_REPORT_LUNS) open_devip->wlun = SAM2_WLUN_REPORT_LUNS & 0xff; return open_devip; } return NULL; } static void mk_sense_buffer(struct sdebug_dev_info * devip, int key, int asc, int asq) Loading