diff options
| author | 2022-03-08 08:48:52 +0900 | |
|---|---|---|
| committer | 2022-04-25 22:30:04 -0400 | |
| commit | 7ab4d2441b952977556672c2fe3f4c2a698cbb37 (patch) | |
| tree | bcead19f5bc780f844d7876d04e8f80a03795b1c /tools/perf/scripts/python/bin | |
| parent | scsi: mpt3sas: Fix writel() use (diff) | |
scsi: mpt3sas: Fix ioc->base_readl() use
The functions _base_readl_aero() and _base_readl() used for an adapter
base_readl() method are implemented using a regular readl() call which
internally performs a conversion to CPU endianness (le32_to_cpu()) of
the values read. The users of the ioc base_readl() method should thus
not convert again the values read using le16_to_cpu().
Fixing this removes sparse warnings.
Link: https://lore.kernel.org/r/20220307234854.148145-4-damien.lemoal@opensource.wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
