From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.2 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C1569C433DB for ; Mon, 8 Mar 2021 16:35:42 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4865B6522B for ; Mon, 8 Mar 2021 16:35:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4865B6522B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=WJ74jNjqcTSlRDACOyBXJg5p2/ZSiCEMy+JIc4ScPLI=; b=DZ5NXMm96+B1vVuH1ss5ZxUy8 09tRADvh7gzbPkG822QPs19U5t1aYzuIJWCqtT5Gp85zuSYD7fiDc5orqkEfuZA/AN0+/mv4tY9zL 2n0ClQGro8jkJJHdxgIlX5TVZ4UewHlHCjXWGPgCCwiWTI6DZthqAOFkkVKZFv5SxL8dTuFxxk8Jb T1djX+R5pVl2fAx5dii+zdT2JmQWdN++LkKe9Ev5PV/jza3KRs7igEFGlg+XaAKrKJrgRH2cSn9Tn Yh+mIgExoBjy4fJIvX+yvRVolE2vqRU3+nf1LXY0Ephhv9JSAynsSh4cJ1JC/V4GFr/XoCxBZZloN 05VsCN4tg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lJIpj-0014DJ-Lt; Mon, 08 Mar 2021 16:34:15 +0000 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lJIpc-0014A6-O6; Mon, 08 Mar 2021 16:34:11 +0000 Received: by mail-pj1-x1034.google.com with SMTP id jx13so3329388pjb.1; Mon, 08 Mar 2021 08:34:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=IML5DiqUHffn2Up5773/YfnCyGbJ41/cNu36kai1zJc=; b=AUZd5gWW/Qwf38+7Cc99ZPkQyyX9PBPzawi6N6skWt9u0dPJXA+cWAw+yyWsLkJrgx Z95PBw519DR7DldFwwCULLClaD9zPcPlYIpnT6vU8x2AqyEjajdfgFM/bHUUjFmS9gWp oO3yJcNJc9jrw6ln11GNp6PEbODhLhQXxH5YtZxoSGY41KTGfA0G8cKzYaL/Oweun2ZN z3eZT4qvNKy7UBKsBA1UsJQcrk5DbEX2JDOofcpATD/LUuU/QTG6zSOHF89lij1wUhtq Agh6qHK9s6o2aQlMHPE//dgOETto0NrMg3VheUx4LLE2MDm+MBvOMzt3Fd1lPdHt0psq kWzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IML5DiqUHffn2Up5773/YfnCyGbJ41/cNu36kai1zJc=; b=TUuDyijCA8N5oX+P68lwEV989q4xnMSIOZxRFoz1IoFJO51vKGjdHLlkVLtVwXMNVA xE9WD4RWK0n6mZiEUFKZjYtHW//3k6C55ObjXW4DFAL3qZq7u/iKHoOnv2oQTa+uv3Ac wlVGAw0EiPNWaTzpNykbF3VJlsh1GtzthRLD8zQ6AiLi2kxMrEhyxM/Vlx+azThwe1NC Q9YEfeGOrnallT6Y1koBMCyDDT6bF7pGski2FT7jVN2JCdZ6gFeQ0pr4e8NaNTN14Ok3 4MnHXTunRDRoRDzR2anxqJ4DeFegbvMgst4ow/g0vgQp70/DhuZ3APEC8xSBud8sVCqO 3Wzw== X-Gm-Message-State: AOAM530nhtVajgnVk7gd/5wD4PszJ2STKxel3zwr499sH4BCrK2XLabR /B26V1OannGblQ42QpkF4JWfKa/pcyE= X-Google-Smtp-Source: ABdhPJxLCZF482keMb/dq1tFjFcWD/m9XmiNb0nSh9FRDCk8vh+oEkky7ZodVxGrVsB1qTXYP/kG4w== X-Received: by 2002:a17:902:8ec9:b029:e6:c5e:cf18 with SMTP id x9-20020a1709028ec9b02900e60c5ecf18mr9934345plo.47.1615221245976; Mon, 08 Mar 2021 08:34:05 -0800 (PST) Received: from [10.230.29.30] ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id 6sm2177562pfv.179.2021.03.08.08.34.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Mar 2021 08:34:05 -0800 (PST) Subject: Re: [PATCH -next] PCI: brcmstb: Fix error return code in brcm_pcie_probe() To: 'Wei Yongjun , Nicolas Saenz Julienne , Lorenzo Pieralisi , Bjorn Helgaas , bcm-kernel-feedback-list@broadcom.com, Philipp Zabel , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, kernel-janitors@vger.kernel.org, Hulk Robot References: <20210308135619.19133-1-weiyongjun1@huawei.com> From: Florian Fainelli Message-ID: <6f4024c5-41d8-df15-c00f-c2a491705176@gmail.com> Date: Mon, 8 Mar 2021 08:34:02 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210308135619.19133-1-weiyongjun1@huawei.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210308_163408_886832_7FBFFA9D X-CRM114-Status: UNSURE ( 8.12 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 3/8/2021 5:56 AM, 'Wei Yongjun wrote: > From: Wei Yongjun > > Fix to return negative error code -ENODEV from the unsupported revision > error handling case instead of 0, as done elsewhere in this function. > > Fixes: 0cdfaceb9889 ("PCI: brcmstb: support BCM4908 with external PERST# signal controller") > Reported-by: Hulk Robot > Signed-off-by: Wei Yongjun Acked-by: Florian Fainelli -- Florian _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel