aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2017-07-17 08:34:23 +0000
committerGreg Kroah-Hartman <[email protected]>2017-07-17 11:19:19 +0000
commit4ab3c51e0540ba8464fe34d84cc35821bb77ae92 (patch)
tree8b0b3a1c891e7496f470cdfcdb53acc46c051d8f /drivers/fpga/fpga-mgr.c
parentserial: st-asc: Potential error pointer dereference (diff)
downloadkernel-4ab3c51e0540ba8464fe34d84cc35821bb77ae92.tar.gz
kernel-4ab3c51e0540ba8464fe34d84cc35821bb77ae92.zip
serial: sh-sci: Uninitialized variables in sysfs files
The kstrtol() function returns -ERANGE as well as -EINVAL so these tests are not enough. It's not a super serious bug, but my static checker correctly complains that the "r" variable might be used uninitialized. Fixes: 5d23188a473d ("serial: sh-sci: make RX FIFO parameters tunable via sysfs") Signed-off-by: Dan Carpenter <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions