Dan Carpenter 4ab3c51e05 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>
2017-07-17 13:19:19 +02:00
..
2017-07-03 20:27:48 -07:00
2017-07-03 20:27:48 -07:00
2016-05-01 13:22:54 -07:00
2017-06-09 12:27:54 +02:00
2017-05-03 15:52:10 -07:00
2017-07-03 20:04:16 -07:00