scsi: pm80xx: Introduce read and write length for IOCTL payload structure
Removed the common length and introduce read and write length for IOCTL payload structure. [mkp: fixed SoB ordering] Link: https://lore.kernel.org/r/20200316074906.9119-7-deepak.ukey@microchip.com Acked-by: Jack Wang <jinpu.wang@cloud.ionos.com> Signed-off-by: Viswas G <viswas.g@microchip.com> Signed-off-by: Deepak Ukey <deepak.ukey@microchip.com> Signed-off-by: Radha Ramachandran <radha@google.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:

committed by
Martin K. Petersen

parent
dba2cc03b9
commit
9b88984658
@@ -137,10 +137,11 @@ struct pm8001_ioctl_payload {
|
||||
u32 signature;
|
||||
u16 major_function;
|
||||
u16 minor_function;
|
||||
u16 length;
|
||||
u16 status;
|
||||
u16 offset;
|
||||
u16 id;
|
||||
u32 wr_length;
|
||||
u32 rd_length;
|
||||
u8 *func_specific;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user