diff options
| author | Arnd Bergmann <[email protected]> | 2017-01-17 16:18:40 +0100 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2017-01-25 02:51:10 +0100 |
| commit | 98ea51cb0c8ce009d9da1fd7b48f0ff1d7a9bbb0 (patch) | |
| tree | fbc3fd58ad79e76ed739558fa06fcdc1f8973a9a /drivers/fpga/fpga-bridge.c | |
| parent | e45587293c6939f7e64b7cd75be41c3a2a6cd1dc (diff) | |
MIPS: Lantiq: Fix another request_mem_region() return code check
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':
arch/mips/lantiq/xway/sysctrl.c:473:19: error: ordered comparison of pointer with integer zero [-Werror=extra]
Fixes: 6e807852676a ("MIPS: Lantiq: Fix check for return value of request_mem_region()")
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: John Crispin <[email protected]>
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/15043/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions