diff options
| author | Martin K. Petersen <[email protected]> | 2023-01-11 22:19:44 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2023-01-11 22:19:44 -0500 |
| commit | 58edf8b928a8107bcdaba3389a51179b69ed2ff1 (patch) | |
| tree | 5fdbf5258720fef90698dc9003da1cba5931219e /include | |
| parent | 679062c65b2c7824b5bf6cef9d286ef101466122 (diff) | |
| parent | e2cb6e8db69e96c1514c2992e2d4fd6c8c1b8820 (diff) | |
Merge patch series "Several compilation warnings fixes for UFS Advanced RPMB"
Bean Huo <[email protected]> says:
These patches are to fix several compilation warnings introduced by my
commit: 6ff265fc5ef6 ("scsi: ufs: core: bsg: Add advanced RPMB support
in ufs_bsg"), please consider this patch series for the next your
merge window. Apologies for this!!
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/uapi/scsi/scsi_bsg_ufs.h | 12 | ||||
| -rw-r--r-- | include/ufs/ufshcd.h | 1 |
2 files changed, 7 insertions, 6 deletions
diff --git a/include/uapi/scsi/scsi_bsg_ufs.h b/include/uapi/scsi/scsi_bsg_ufs.h index 276e2772328f..2801b65299aa 100644 --- a/include/uapi/scsi/scsi_bsg_ufs.h +++ b/include/uapi/scsi/scsi_bsg_ufs.h @@ -97,18 +97,18 @@ struct utp_upiu_req { }; struct ufs_arpmb_meta { - __u16 req_resp_type; + __be16 req_resp_type; __u8 nonce[16]; - __u32 write_counter; - __u16 addr_lun; - __u16 block_count; - __u16 result; + __be32 write_counter; + __be16 addr_lun; + __be16 block_count; + __be16 result; } __attribute__((__packed__)); struct ufs_ehs { __u8 length; __u8 ehs_type; - __u16 ehssub_type; + __be16 ehssub_type; struct ufs_arpmb_meta meta; __u8 mac_key[32]; } __attribute__((__packed__)); diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h index ff138927676b..fc7373a1a15e 100644 --- a/include/ufs/ufshcd.h +++ b/include/ufs/ufshcd.h @@ -17,6 +17,7 @@ #include <linux/blk-mq.h> #include <linux/devfreq.h> #include <linux/pm_runtime.h> +#include <linux/dma-direction.h> #include <scsi/scsi_device.h> #include <ufs/unipro.h> #include <ufs/ufs.h> |