Tag: fa54cc70ed2eddd96773ffdf4d96d23ea7483e56

rxrpc: fix ptr_ret.cocci warnings

Author: Wu Fengguang <fengguang.wu@intel.com> net/rxrpc/rxkad.c:1165:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(…)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci CC: David Howells Signed-off-by: Fengguang Wu Signed-off-by: David S. Miller — net/rxrpc/rxkad.c | 4 +— 1 file changed, 1 insertion(+), 3 deletions(-)   diff –git a/net/rxrpc/rxkad.c b/net/rxrpc/rxkad.c index 6b726a0..bab56ed 100644 — a/net/rxrpc/rxkad.c +++ b/net/rxrpc/rxkad.c @@ …

Continue reading

BtrLinux
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.