Searched hist:"6 e807852676a2ef6f104b56114d7a5096d42ff37" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/mips/lantiq/xway/ |
H A D | sysctrl.c | diff 6e807852676a2ef6f104b56114d7a5096d42ff37 Wed Oct 28 17:37:44 CDT 2015 Hauke Mehrtens <hauke.mehrtens@lantiq.com> MIPS: Lantiq: Fix check for return value of request_mem_region()
request_mem_region() returns a pointer and not an integer with an error value. A check for "< 0" on a pointer will cause problems, replace it with not null checks instead. This was found with sparse.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> Acked-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11395/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
/openbmc/linux/arch/mips/lantiq/ |
H A D | irq.c | diff 6e807852676a2ef6f104b56114d7a5096d42ff37 Wed Oct 28 17:37:44 CDT 2015 Hauke Mehrtens <hauke.mehrtens@lantiq.com> MIPS: Lantiq: Fix check for return value of request_mem_region()
request_mem_region() returns a pointer and not an integer with an error value. A check for "< 0" on a pointer will cause problems, replace it with not null checks instead. This was found with sparse.
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com> Acked-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11395/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|