aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2020-02-19 20:34:39 -0800
committerMartin K. Petersen <[email protected]>2020-02-28 19:54:59 -0500
commit471298cab82d255e358901ea5baff24abe1a53b8 (patch)
tree4542666fabfdccc05beab2a497836f1a4cbad8e1 /tools/perf/scripts/python/export-to-sqlite.py
parent1ee5ac365c2a554b59b0e7445455d93a0577662b (diff)
scsi: qla2xxx: Fix sparse warnings triggered by the PCI state checking code
This patch fixes the following sparse warnings: drivers/scsi/qla2xxx/qla_mbx.c:120:21: warning: restricted pci_channel_state_t degrades to integer drivers/scsi/qla2xxx/qla_mbx.c:120:37: warning: restricted pci_channel_state_t degrades to integer >From include/linux/pci.h: enum pci_channel_state { /* I/O channel is in normal state */ pci_channel_io_normal = (__force pci_channel_state_t) 1, /* I/O to channel is blocked */ pci_channel_io_frozen = (__force pci_channel_state_t) 2, /* PCI card is dead */ pci_channel_io_perm_failure = (__force pci_channel_state_t) 3, }; Link: https://lore.kernel.org/r/[email protected] Cc: Roman Bolshakov <[email protected]> Cc: Martin Wilck <[email protected]> Cc: Quinn Tran <[email protected]> Reviewed-by: Daniel Wagner <[email protected]> Reviewed-by: Roman Bolshakov <[email protected]> Acked-by: Himanshu Madhani <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions