diff options
| author | 2022-05-10 09:05:06 +0200 | |
|---|---|---|
| committer | 2022-05-11 12:31:01 +0100 | |
| commit | 2c50c6867c85afee6f2b3bcbc50fc9d0083d1343 (patch) | |
| tree | 4469aa230199e2cc5cc95adf9d7f6bbdeee3621e /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | Merge branch 'atlantic-fixes' (diff) | |
| download | linux-dev-2c50c6867c85afee6f2b3bcbc50fc9d0083d1343.tar.xz linux-dev-2c50c6867c85afee6f2b3bcbc50fc9d0083d1343.zip | |
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: 3c09e2647b5e ("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>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
