commit | d334c2b9de03c62767d04d8d927bc6d06f3fbd62 | [log] [tgz] |
---|---|---|
author | Manuel Lauss <manuel.lauss@gmail.com> | Thu Feb 20 14:37:40 2014 +0100 |
committer | Ralf Baechle <ralf@linux-mips.org> | Thu Mar 06 20:52:28 2014 +0100 |
tree | 0eb3eecf6b4f5d1fc59df0fde3cad958654579e0 | |
parent | f5179287b016cc61d6ad77b4a15fab9b6932df83 [diff] |
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>