diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-08-05 15:36:25 +0200 |
|---|---|---|
| committer | Vasily Gorbik <gor@linux.ibm.com> | 2026-08-11 16:41:22 +0200 |
| commit | cc459ed00ae1b50b5eeb78b96347585e19fe4711 (patch) | |
| tree | ea4ea9acf58f1b465f1a6feef3385a8fae362013 /scripts/objdiff | |
| parent | c79e1baef93cff38a38d37092b0fc45456f45985 (diff) | |
| download | linux-cc459ed00ae1b50b5eeb78b96347585e19fe4711.tar.gz linux-cc459ed00ae1b50b5eeb78b96347585e19fe4711.zip | |
s390/pci: Rework __zpci_event_error() to remove conditional locking
Clang's compiler based static context analysis does not work with
locks that are conditionally taken like in __zpci_event_error():
arch/s390/pci/pci_event.c:320:2: warning: mutex 'get_zdev_by_fid(ccdf->fid).state_lock'
is not held on every path through here [-Wthread-safety-analysis]
Given that code which takes locks conditionally can be considered
suboptimal rework __zpci_event_error() to get rid of this.
Reviewed-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
