mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
wifi: iwlwifi: api: use __le16 instead of u16
Even for reserved values we shouldn't use u16, that's just error prone. Fix this to __le16. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230601171633.29ebf70aa64e.I1263f6724e1c70ff5541f447b9744f143ee736a3@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
parent
59505471a1
commit
11b6007175
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ union iwl_ppag_table_cmd {
|
|||
struct iwl_sar_offset_mapping_cmd {
|
||||
u8 offset_map[MCC_TO_SAR_OFFSET_TABLE_ROW_SIZE]
|
||||
[MCC_TO_SAR_OFFSET_TABLE_COL_SIZE];
|
||||
u16 reserved;
|
||||
__le16 reserved;
|
||||
} __packed; /*SAR_OFFSET_MAPPING_TABLE_CMD_API_S*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue