Author: Herbert Xu <herbert@gondor.apana.org.au> lib/crc-t10dif.c:42:1-3: WARNING: PTR_RET can be used Use PTR_RET rather than if(IS_ERR(…)) + PTR_ERR Generated by: coccinelle/api/ptr_ret.cocci Reported-by: Fengguang Wu Signed-off-by: Herbert Xu — lib/crc-t10dif.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-) diff –git a/lib/crc-t10dif.c b/lib/crc-t10dif.c index 0cb6463..fe3428c 100644 — a/lib/crc-t10dif.c +++ b/lib/crc-t10dif.c @@ -39,9 +39,7 @@ EXPORT_SYMBOL(crc_t10dif); …
Privacy Overview
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.