Hi Christophe,
[auto build test ERROR on v4.9-rc8]
[also build test ERROR on next-20170217]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
Hi Christophe,
[auto build test ERROR on v4.9-rc8]
[also build test ERROR on next-20170217]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system]
url:
'pktdma_get_regs()' never returns NULL. It returns an error pointer or a
valid pointer.
So test its return value with IS_ERR.
Signed-off-by: Christophe JAILLET
---
After checking with IS_ERR, it could be better to propagate the error code
instead of returning
'pktdma_get_regs()' never returns NULL. It returns an error pointer or a
valid pointer.
So test its return value with IS_ERR.
Signed-off-by: Christophe JAILLET
---
After checking with IS_ERR, it could be better to propagate the error code
instead of returning -ENODEV uncondionnaly
---
4 matches
Mail list logo