diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-07-17 11:34:23 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 13:19:19 +0200 |
commit | 4ab3c51e0540ba8464fe34d84cc35821bb77ae92 (patch) | |
tree | 8b0b3a1c891e7496f470cdfcdb53acc46c051d8f /crypto/echainiv.c | |
parent | 2b01bfaeb41e1563322448d9b392ac924cbf22ef (diff) |
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 <dan.carpenter@oracle.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/echainiv.c')
0 files changed, 0 insertions, 0 deletions