- rq-cmd[6] = (h-bufflen 24) 0xff;
- rq-cmd[7] = (h-bufflen 16) 0xff;
- rq-cmd[8] = (h-bufflen 8) 0xff;
- rq-cmd[9] = h-bufflen 0xff;
+ put_unaligned_be32(bufflen, rq-cmd[6]);
This is unrelated to the rest of the patch, can you split it out,
maybe together with
Pass in the buffer as a function argument for submit_vpd() and
submit_rtpg().
Reviewed-by: Bart Van Assche bart.vanass...@sandisk.com
Signed-off-by: Hannes Reinecke h...@suse.de
---
drivers/scsi/device_handler/scsi_dh_alua.c | 24 +++-
1 file changed, 11 insertions(+), 13
2 matches
Mail list logo