After commit 556e26a70b64 ("scsi: remove tsk_mgmt_response and
it_nexus_response transport methods"), the target driver support
was removed totally. Drop the residua.
Signed-off-by: Kefeng Wang
---
include/scsi/scsi_transport_fc.h | 4
1 file changed, 4 deletions(-)
diff --git
On 2017/3/20 22:29, Martin K. Petersen wrote:
> Kefeng Wang writes:
>
> Kefeng,
>
>> The issue still exists, the patch return zero in scsi_mode_sense(), but zero
>> means
>> SAM_STAT_GOOD in scsi_status_is_good(), so n will be still bigger than 512;
>
&
On 2017/3/18 7:29, Martin K. Petersen wrote:
> Kefeng Wang writes:
>
> Kefeng,
>
>> root@localhost ~]# sg_modes -p 0x2a /dev/sr0
>> QEMU QEMU DVD-ROM 0.15 peripheral_type: cd/dvd [0x5]
>> Mode parameter header from MODE SENSE(10):
>> Invalid
On 2017/3/16 8:07, Martin K. Petersen wrote:
> Kefeng Wang writes:
>
> Kefeng,
>
>> 'n = header_length + block_descriptor_length' could be greater than 512,
>> and will lead to oob access, so enlarge transfer buffer to fix it.
>
> Can you share the out
Hi all,
On 2017/3/3 18:17, Kefeng Wang wrote:
> 'n = header_length + block_descriptor_length' could be greater than 512,
> and will lead to oob access, so enlarge transfer buffer to fix it.
I am not familiar with scsi protocol,so the patch may be wrong.
Question, is i
'n = header_length + block_descriptor_length' could be greater than 512,
and will lead to oob access, so enlarge transfer buffer to fix it.
===
BUG: KASAN: slab-out-of-bounds in sr_probe+0x570/0xcc0 at addr 8809020e
Read of size 1 by task kworker/u48:2/188
Signed-off-by: K
hen read ioc->chip
in mpt3sas_base_get_iocstate from _base_fault_reset_work.
Cc: Sathya Prakash
Cc: Chaitra P B
Cc: Suganath Prabu Subramani
Signed-off-by: Kefeng Wang
---
NOTE: I found this with an earlier kernel version, but the logic is not changed.
drivers/scsi/mpt3sas/mpt3sas_scsih
On 2013-05-30 22:38, James Bottomley wrote:
> There doesn't seem to be much point to these patches since either idiom
> is fine and easily understood. We also try to touch the ancient drivers
> as little as possible since it can be months before anyone actually
> tries them out and notices that so
use module_platform_driver() and paltform{set,get}_drvdata to simpily code,
and patch 2/5 delete unnecessery drvdate set to null.
Kefeng Wang (5):
scsi: jazz: use module_platform_driver() and
platform_{set,get}_drvdata
scsi: sun: use module_platform_driver() and platform_{set,get}_drvdata
Use helper macro and wrapper functions to simpily code.
Signed-off-by: Kefeng Wang
---
drivers/scsi/sun3x_esp.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c
index 534eb96..4c9a2b4 100644
--- a/drivers
Use helper macro and wrapper functions to simpily code.
Signed-off-by: Kefeng Wang
---
drivers/scsi/qlogicpti.c | 17 +++--
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/drivers/scsi/qlogicpti.c b/drivers/scsi/qlogicpti.c
index 6d48d30..1349374 100644
--- a/drivers
Use helper macro and wrapper functions to simpily code.
Signed-off-by: Kefeng Wang
---
drivers/scsi/sni_53c710.c | 17 +++--
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/drivers/scsi/sni_53c710.c b/drivers/scsi/sni_53c710.c
index 52d54e7..eff84c4 100644
--- a
Use helper macro and wrapper functions to simpily code.
Signed-off-by: Kefeng Wang
---
drivers/scsi/jazz_esp.c | 17 +++--
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/drivers/scsi/jazz_esp.c b/drivers/scsi/jazz_esp.c
index 69efbf1..08fa257 100644
--- a/drivers
Use helper macro and wrapper functions to simpily code. Meanwhile,
remove unnecessary drvdata set to null due to commint 0998d0631
(device-core: Ensure drvdata = NULL when no driver is bound).
Signed-off-by: Kefeng Wang
---
drivers/scsi/sun_esp.c | 19 +++
1 file changed, 3
14 matches
Mail list logo