summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@opensource.wdc.com>2021-12-02 15:27:08 +0900
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>2021-12-06 10:07:47 +0900
commit815b6cb37e8e9c4da06e7a52d7215a6dc1965e02 (patch)
tree68fcaacd208c3afeedfaa35def3d09b83f5fd3c6 /tools/perf/scripts/python/export-to-postgresql.py
parent0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1 (diff)
ata: ahci_ceva: Fix id array access in ceva_ahci_read_id()
ATA IDENTIFY command returns an array of le16 words. Accessing it as a u16 array triggers the following sparse warning: drivers/ata/ahci_ceva.c:107:33: warning: invalid assignment: &= drivers/ata/ahci_ceva.c:107:33: left side has type unsigned short drivers/ata/ahci_ceva.c:107:33: right side has type restricted __le16 Use a local variable to explicitly cast the id array to __le16 to avoid this warning. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions