linux/drivers/s390
Alexandra Winter 2c50c6867c s390/ctcm: fix variable dereferenced before check
Found by cppcheck and smatch.
smatch complains about
drivers/s390/net/ctcm_sysfs.c:43 ctcm_buffer_write() warn: variable dereferenced before check 'priv' (see line 42)

Fixes: 3c09e2647b ("ctcm: rename READ/WRITE defines to avoid redefinitions")
Reported-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-05-11 12:31:01 +01:00
..
block s390 updates for the 5.18 merge window 2022-03-25 10:01:34 -07:00
char s390: cleanup timer API use 2022-03-27 22:18:39 +02:00
cio s390: cleanup timer API use 2022-03-27 22:18:39 +02:00
crypto s390/zcrypt: fix using the correct variable for sizeof() 2022-03-27 22:18:39 +02:00
net s390/ctcm: fix variable dereferenced before check 2022-05-11 12:31:01 +01:00
scsi scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices 2022-01-24 23:30:27 -05:00
virtio virtio/s390: get rid of open-coded kvm hypercall 2021-06-28 11:18:28 +02:00
Makefile