Message ID | 20210531130643.584295963@linuxfoundation.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c735:0:0:0:0:0 with SMTP id h21csp837244jao; Mon, 31 May 2021 06:36:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+2ZFO3LP/MKEHSd24ZrfMVUVIHCobntFBT+Gp0McXjQf58zQv5MrkHnYCOFNA99vw/d/D X-Received: by 2002:aa7:ca4d:: with SMTP id j13mr25457472edt.158.1622468192618; Mon, 31 May 2021 06:36:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622468192; cv=none; d=google.com; s=arc-20160816; b=vzB1o84eLve/bcNnjoMw8+pETzTj+R667PURIKRBcQZHcrVPOmYHiPBOwJXifNvLYt 1vA7vAbVQi8UkvOaOquDYY68qo/cyyWu50UbfVyprnVZOU5pKHmLJ+OiKuNt/BQdQ7hN YhPz/+bk65ZawPliZslXQrP0gTIh3QY4weqdVrr3s/Fp7MD1qxDhmbjp3vnPradmoTRs DevXA7rJK2PRwIapYVba4hW5ZGuvdHMZmuhUk4wN3dS2+/EqIihccfrUrhSCanINOXL6 cDzFNVThH0DXgGCqdjss1fhH+rtvboiDXSAT0yS0s9HG21J1jIXlS7O1gL6iMUrYPbsv aKXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Qz9pOf67nKtadivja2d6MDB3zFqlJHBHlnMG2q1yEz0=; b=TPDqsGch111pKG7YeUMF4uWQJdnskIembvPcishvmMD0SAPtVdbZ5Es0tYZm9f8xcx sg/Mp4RuTAuX6+udInYKkK+LwPoMM7vtnRyfle+ZQnGHkBD5NE35P5dn2MnEdMtrZ7OG p/99xZnmzOT+mxzBcVwNlHdc+R5SSS1Wm6LQTT3nqGIShH2H1zGHvbCuPxJAVfcz3AOI d9v6fyRL4UuHOIS2YVEwoS3VtluPaIOH4YpSjuYuonPjZ0YmqQZDgGGoJO94P0NGEZzF VOQbb+FyET3W22GTsn0gb/VGoOB++39YpDdY++tjw7MCTkRFcnUtuKGYynymP1RhFLeG nK/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hqRsmYGs; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f22si13313561ejk.353.2021.05.31.06.36.32; Mon, 31 May 2021 06:36:32 -0700 (PDT) Received-SPF: pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hqRsmYGs; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231895AbhEaNiG (ORCPT <rfc822;semen.protsenko@linaro.org> + 12 others); Mon, 31 May 2021 09:38:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:42864 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231803AbhEaNf4 (ORCPT <rfc822;stable@vger.kernel.org>); Mon, 31 May 2021 09:35:56 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4DC7D613AB; Mon, 31 May 2021 13:25:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1622467539; bh=AqPSNXmqpkBuzKNdGEkl44YQeFHwWt4dlcI5cmmDdjw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hqRsmYGsoiIUT7s3+tQzZ0TZqrLsbSAbWdS/bo3egu7+5tiRbyy5uedKtrIa40orN Pud9cBsXYp6hfwA7/JG87MBp+6x01E2ORQB1J50F55n6tIW8zCvO5NQTxXdFQJgk04 pfFvYVxtNNhNGo0AlqNAm9AvaotqxKfFAYipHHJE= From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, stable@vger.kernel.org, Hulk Robot <hulkci@huawei.com>, Zhen Lei <thunder.leizhen@huawei.com>, Michael Chan <michael.chan@broadcom.com>, "David S. Miller" <davem@davemloft.net>, Sasha Levin <sashal@kernel.org> Subject: [PATCH 4.19 102/116] net: bnx2: Fix error return code in bnx2_init_board() Date: Mon, 31 May 2021 15:14:38 +0200 Message-Id: <20210531130643.584295963@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210531130640.131924542@linuxfoundation.org> References: <20210531130640.131924542@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
None
|
expand
|
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 122fdb80a789..9993f1162ac6 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c @@ -8253,9 +8253,9 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) BNX2_WR(bp, PCI_COMMAND, reg); } else if ((BNX2_CHIP_ID(bp) == BNX2_CHIP_ID_5706_A1) && !(bp->flags & BNX2_FLAG_PCIX)) { - dev_err(&pdev->dev, "5706 A1 can only be used in a PCIX bus, aborting\n"); + rc = -EPERM; goto err_out_unmap; }