Commit [d334c2]  Maximize  Restore  History

MIPS: Alchemy: Fix unchecked kstrtoul return value

enabled __must_check logic triggers a build error for mtx1 and gpr
in the prom init code. Fix by checking the kstrtoul() return value.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Linux-MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/6574/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Manuel Lauss Manuel Lauss 2014-02-20

Ralf Baechle Ralf Baechle 2014-03-06

changed arch/mips/alchemy/board-gpr.c
changed arch/mips/alchemy/board-mtx1.c
arch/mips/alchemy/board-gpr.c Diff Switch to side-by-side view
Loading...
arch/mips/alchemy/board-mtx1.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks