Hi Wei,
On Fri, 2013-10-25 at 21:53 +0800, Wei Yongjun wrote:
> From: Wei Yongjun
>
> In case of error, the function scsi_host_lookup() returns NULL
> pointer not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by: Wei Yongjun
> ---
A
From: Wei Yongjun
In case of error, the function scsi_host_lookup() returns NULL
pointer not ERR_PTR(). The IS_ERR() test in the return value check
should be replaced with NULL test.
Signed-off-by: Wei Yongjun
---
drivers/target/target_core_pscsi.c | 8
1 file changed, 4 insertions(+)
2 matches
Mail list logo