From: Wei Yongjun
In case of error, the function crypto_alloc_hash() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun
---
drivers/staging/lustre/lustre/obdclass/capa.c | 4 ++--
1 file changed, 2
From: Wei Yongjun yongjun_...@trendmicro.com.cn
In case of error, the function crypto_alloc_hash() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().
Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn
---
2 matches
Mail list logo