aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2018-07-11 10:09:29 +0200
committerMartin K. Petersen <[email protected]>2018-07-12 23:01:16 -0400
commitbbc0f8bd88abefb0f27998f40a073634a3a2db89 (patch)
treece26338dc33a28ac9cfe4d99a386254adce4ff19 /tools/perf/scripts/python
parentbc3d12b75491c0e844a8a7ce05e84de8f7d94822 (diff)
scsi: libfc: Add WARN_ON() when deleting rports
The discovery rport list handling is quite odd; the list traversal is independent from the lifetime of the rport itself. This makes auditing quite tricky, and the chance remains that we've missed something. So this patch adds a WARN_ON() statement when freeing an rport which is still part of a list. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions