summaryrefslogtreecommitdiff
path: root/tools/docs/parse-headers.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-10-14 15:02:43 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2025-10-21 21:09:36 -0400
commitd54c676d4fe0543d1642ab7a68ffdd31e8639a5d (patch)
tree82f78ec8e0d0ec891ac395436c5172a8f20ab5d2 /tools/docs/parse-headers.py
parent35bc3c8ee319083333b758355ffd739a96af5c00 (diff)
scsi: core: Fix the unit attention counter implementation
scsi_decide_disposition() may call scsi_check_sense(). scsi_decide_disposition() calls are not serialized. Hence, counter updates by scsi_check_sense() must be serialized. Hence this patch that makes the counters updated by scsi_check_sense() atomic. Cc: Kai Mäkisara <Kai.Makisara@kolumbus.fi> Fixes: a5d518cd4e3e ("scsi: core: Add counters for New Media and Power On/Reset UNIT ATTENTIONs") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Ewan D. Milne <emilne@redhat.com> Link: https://patch.msgid.link/20251014220244.3689508-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions