rtl838x: fix incorrect assignment from kstrtoul in serial.c
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 16 Sep 2020 14:29:21 +0000 (16:29 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Wed, 16 Sep 2020 14:31:28 +0000 (16:31 +0200)
commit300173950da07e43b56d819114c1d1271ea213cc
treeeae061c98c964a8a4bc93ca5e083996f77381f95
parent5c0cecb6c6bef941b803c7494b087ac08c473f87
rtl838x: fix incorrect assignment from kstrtoul in serial.c

Assign return value of kstrtoul to error variable instead of
conversion value.

Suggested-by: Birger Koblitz <git@birger-koblitz.de>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/rtl838x/files-5.4/arch/mips/rtl838x/serial.c