aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2019-12-18 16:47:06 -0800
committerMartin K. Petersen <[email protected]>2020-01-02 21:53:30 -0500
commita27747a207887420106aca284c0e98ba5e547d78 (patch)
tree7fe93e9ca26eebc770b3d1eba2817efa1c8480c3 /tools/perf/scripts/python/net_dropmonitor.py
parentb3e3d4c618c5b97ca8aa12779df770782be83fb2 (diff)
scsi: qla2xxx: Improve readability of the code that handles qla_flt_header
Declare qla_hw_data.flt as a qla_flt_header pointer instead of as a void pointer. Add a zero-length array at the end of struct qla_flt_header to make it clear that qla_flt_header and qla_flt_region are contiguous. This patch removes several casts but does not change any functionality. Cc: Himanshu Madhani <[email protected]> Cc: Quinn Tran <[email protected]> Cc: Martin Wilck <[email protected]> Cc: Daniel Wagner <[email protected]> Cc: Roman Bolshakov <[email protected]> Link: https://lore.kernel.org/r/[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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions