[PATCH for 4.9 57/59] MIPS: Lantiq: Fix another request_mem_region() return code check

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 ] Hauke already fixed a couple of them, but one instance remains that checks for a negative integer when it should check for a NULL pointer: arch/mips/lantiq/xway/sysctrl.c: In function

[PATCH for 4.9 57/59] MIPS: Lantiq: Fix another request_mem_region() return code check

2017-09-14 Thread Levin, Alexander (Sasha Levin)
From: Arnd Bergmann [ Upstream commit 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 ] Hauke already fixed a couple of them, but one instance remains that checks for a negative integer when it should check for a NULL pointer: arch/mips/lantiq/xway/sysctrl.c: In function 'ltq_soc_init':