Return-Path: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: [PATCH] Bluetooth: btintel: fix ptr_ret.cocci warnings From: Marcel Holtmann In-Reply-To: <20180821165530.GA139171@ivytown2> Date: Tue, 21 Aug 2018 22:20:57 +0200 Cc: Raghuram Hegde , kbuild-all@01.org, linux-bluetooth@vger.kernel.org, chethan.tumkur.narayan@intel.com, sukumar.ghorai@intel.com, amit.k.bag@intel.com Message-Id: <6A5F5D79-0588-4F3F-A297-EE788D91C2D2@holtmann.org> References: <1534844080-31240-1-git-send-email-raghuram.hegde@intel.com> <20180821165530.GA139171@ivytown2> To: kbuild test robot Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, > drivers/bluetooth/btintel.c:416: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 > > Fixes: 38ca310b0d2c ("Bluetooth: btintel: Add platform device for rfkill signal") > CC: Sukumar Ghorai > Signed-off-by: kbuild test robot I am not going to apply patches from a robot. So can some human please generate a patch with a proper authorship and signed-off-by line please. Regards Marcel