Skip to content

scsi_cmnd accessors issues

Boaz Harrosh linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 patches 8 repliesIn review

Patches in v1 No applies recorded yet

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/0] scsi_cmnd accessors issues
Quoted 6 lines · FUJITA Tomonori

There are just two llds. I suspect that we can fix them. Or they can access to the data directly (without the accessors) if we can't.

I don't think that introducing something like scsi_set_sg_count, which is meaningless to most of llds, is a good idea.

Following are 3 patches for fixing the l-value issues for accessors.

0/1 - proposed new accessors which will not let l-value code compile. 0/2 - Clean fix of drivers/scsi/tmscsim.c to not need setting of sg_count 0/3 - In drivers/scsi/stex.c open code of write access to request_bufflen.
when new code is committed this driver will have to change with it.