]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Alchemy: Fix unchecked kstrtoul return value
authorManuel Lauss <manuel.lauss@gmail.com>
Thu, 20 Feb 2014 13:37:40 +0000 (14:37 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 19:52:28 +0000 (20:52 +0100)
commitdd68b30dbeeff0b73b394242a534194703f8db5a
tree0eb3eecf6b4f5d1fc59df0fde3cad958654579e0
parent59ed771fd53d09b5d2ecfa4f5b944122e1fa7631
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>
arch/mips/alchemy/board-gpr.c
arch/mips/alchemy/board-mtx1.c