aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2020-05-18 14:17:09 -0700
committerMartin K. Petersen <[email protected]>2020-05-19 21:43:19 -0400
commitab053c09ee2066a2fe62a755f1e64dbc8eddc17c (patch)
tree73055919e8c61901ec304e7270b7de906118022b /tools/perf/scripts/python/export-to-sqlite.py
parent04474d3a1c968119e7214c312b273dee01258cad (diff)
scsi: qla2xxx: Cast explicitly to uint16_t / uint32_t
Casting a pointer to void * and relying on an implicit cast from void * to uint16_t or uint32_t suppresses sparse warnings about endianness. Hence cast explicitly to uint16_t and uint32_t. Additionally, remove superfluous void * casts. Link: https://lore.kernel.org/r/[email protected] Cc: Arun Easi <[email protected]> Cc: Nilesh Javali <[email protected]> Cc: Daniel Wagner <[email protected]> Cc: Himanshu Madhani <[email protected]> Cc: Martin Wilck <[email protected]> Cc: Roman Bolshakov <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Daniel Wagner <[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