diff options
author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-04 19:04:49 +0900 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-01-14 15:17:16 +0900 |
commit | f8bc938ee6c60ec862fb5311789b6e277555f0b0 (patch) | |
tree | b1680195151fd0b07ccee76080111df351f42f4b /include | |
parent | e5b48ee30aec1fe6dff05e36b22e886c665b4736 (diff) |
ata: sata_fsl: fix cmdhdr_tbl_entry and prde struct definitions
The fields of the cmdhdr_tbl_entry structure all store __le32 values,
and so are the dba and ddc_and_ext fields of the prde structure. Define
these fields using the __le32 type to avoid sparse warnings about
incorrect type in assignment.
The debug message in sata_fsl_setup_cmd_hdr_entry() is changed to
display the correct values of the cmdhdr_tbl_entry fields on big endian
systems.
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions