summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-06-23 14:59:01 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2025-07-08 21:43:21 -0400
commitcc59f3b68542a2ef05e7afd0cc329ff8b8a649d0 (patch)
treed8354840c87594ae5014d5d805568c56c41ed6ce /tools/perf/scripts/python
parent26b971d58ab9f0d5003ac750a97bb88cec7aa2e1 (diff)
scsi: ufs: core: Improve return value documentation
Some functions return a negative value to indicate an error while other functions return a value != 0 to indicate an error. Document the return value behavior where this documentation is missing and fix the return value documentation where necessary. Add warnings to detect mismatches between documentation and implementation. This matters because several sysfs callback functions only work correctly if a negative value is returned upon error. Signed-off-by: Bart Van Assche <bvanassche@acm.org> Link: https://lore.kernel.org/r/20250623215909.4169007-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions