summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-04 19:04:49 +0900
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2022-01-14 15:17:16 +0900
commitf8bc938ee6c60ec862fb5311789b6e277555f0b0 (patch)
treeb1680195151fd0b07ccee76080111df351f42f4b /include/linux/libata.h
parente5b48ee30aec1fe6dff05e36b22e886c665b4736 (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/linux/libata.h')
0 files changed, 0 insertions, 0 deletions