summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2018-07-11 11:09:29 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2018-07-13 06:01:16 +0300
commitbbc0f8bd88abefb0f27998f40a073634a3a2db89 (patch)
treece26338dc33a28ac9cfe4d99a386254adce4ff19 /tools/perf/scripts/python/call-graph-from-sql.py
parentbc3d12b75491c0e844a8a7ce05e84de8f7d94822 (diff)
downloadlinux-bbc0f8bd88abefb0f27998f40a073634a3a2db89.tar.xz
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 <hare@suse.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions