From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932279AbcFIOik (ORCPT ); Thu, 9 Jun 2016 10:38:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:43414 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751393AbcFIOij (ORCPT ); Thu, 9 Jun 2016 10:38:39 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20160604231719.GA37147@lkp-hsx03> References: <20160604231719.GA37147@lkp-hsx03> <201606050713.wc8McvlU%fengguang.wu@intel.com> To: kbuild test robot Cc: dhowells@redhat.com, kbuild-all@01.org, linux-kernel@vger.kernel.org, Herbert Xu , netdev@vger.kernel.org Subject: Re: [PATCH] rxrpc: fix ptr_ret.cocci warnings MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <29222.1465483116.1@warthog.procyon.org.uk> Date: Thu, 09 Jun 2016 15:38:36 +0100 Message-ID: <29223.1465483116@warthog.procyon.org.uk> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Thu, 09 Jun 2016 14:38:39 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kbuild test robot wrote: > 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 Acked-by: David Howells