Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751256AbbLTXKy (ORCPT ); Sun, 20 Dec 2015 18:10:54 -0500 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36106 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbbLTXKv (ORCPT ); Sun, 20 Dec 2015 18:10:51 -0500 MIME-Version: 1.0 In-Reply-To: <201512182111.1GLn2hxy%fengguang.wu@intel.com> References: <1450442339-18765-4-git-send-email-stanimir.varbanov@linaro.org> <201512182111.1GLn2hxy%fengguang.wu@intel.com> Date: Sun, 20 Dec 2015 15:10:49 -0800 Message-ID: Subject: Re: [PATCH v5 3/5] PCI: qcom: Add Qualcomm PCIe controller driver From: Bjorn Andersson To: kbuild test robot Cc: Stanimir Varbanov , kbuild-all@01.org, linux-arm-msm , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , linux-pci@vger.kernel.org, Bjorn Helgaas , Srinivas Kandagatla , Russell King , Rob Herring , Rob Herring , Mark Rutland , Pawel Moll , Ian Campbell , Arnd Bergmann , Jingoo Han , Pratyush Anand , Bjorn Andersson , Stanimir Varbanov Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1169 Lines: 31 On Fri, Dec 18, 2015 at 5:44 AM, kbuild test robot wrote: > Hi Stanimir, > > [auto build test WARNING on next-20151218] > [also build test WARNING on v4.4-rc5] > [cannot apply to pci/next robh/for-next v4.4-rc5 v4.4-rc4 v4.4-rc3] > > url: https://github.com/0day-ci/linux/commits/Stanimir-Varbanov/Qualcomm-PCIe-driver-and-designware-fixes/20151218-205427 > > > coccinelle warnings: (new ones prefixed by >>) > >>> drivers/pci/host/pcie-qcom.c:188:1-3: WARNING: PTR_ERR_OR_ZERO can be used > drivers/pci/host/pcie-qcom.c:220:1-3: WARNING: PTR_ERR_OR_ZERO can be used > > Please review and possibly fold the followup patch. > I disagree with this "recommendation" as it's only outcome will be asymmetry. I think this script should be changed to only warn if there's a single IS_ERR/PTR_ERR at the end of the function, not if there's a list of them and this would replace the last one. Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/