Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1644922pxp; Thu, 17 Mar 2022 13:29:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHHiotWiJnCPrh/vYDjkMzM26rXsGRz+AfilQ5SASRIaUqPfoyCdhuSfK/AG+vq3w0dUPX X-Received: by 2002:a63:f04f:0:b0:373:bd70:af2 with SMTP id s15-20020a63f04f000000b00373bd700af2mr5135611pgj.497.1647548940177; Thu, 17 Mar 2022 13:29:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647548940; cv=none; d=google.com; s=arc-20160816; b=iCL9otHFEePAOXmY7K3tOGskMJ8OzNcZguuRw6Mc6SkgR+5QaxvFMYM/lIljLH+wjz Q7fgdDRWPOjfhnuG4wTnfuuDhTczndnggH0eh5pQ29uCO5BpcaxJ4n/5cUQxSnYKvh9Q 8fAiJPzOvjYzKFT0H+kMBjaPoaap5XAMDIyGBmZj5NDH1rgKaH+Gl0emHqmgVyZCzAQq 7CVRWA0mxrL/RmuQDBBj4xdGhI/rvPF144wxUdV5OlGs9Tp4rOu7K+MYvPC9/AiqsweX /yASLI92jQIUXPPbdlNvBAmOeLVAHjRdmOq0U0waiOlcdUfWeEko/YpIaGoEl8G1E9jx cKIA== 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=J/YspMP1Sm6MWZcBNauHjwQ8plUdA2a9o8HkBAbmNd0=; b=sDUTMnzteN5YMUSGpTgFdUjadJXyfyckLj6yrjnxu6h/BendpJ6uO54jVHi5G7MkmB ZeJwR/we6FvNlMwKOrxYdPNDPn+CinhEKnPMoggQ7ykBIRsUx7nc7c5lO2XGT8n3eeeR DuNLpj3h5N1+cIAreEs9pgFaAnLYy2FKZnWR8r+20jN1YqRBvsSdqKkip0+rA4YNDfNi 175qSRKKwIvrwcRZluDUer5u9i/pir7xGV9nMHCcGQS+3NkeHtlXCzeVi4OgH0b42wmF DUomkF4hlAV86zj3VdfOb8JzWga1FQajzQ0i7iMTSL2qKbS/915mxAcOcBuAQ6z6A8UN ic6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bf+jqNEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q2-20020a17090aa00200b001c6a671b0adsi905197pjp.113.2022.03.17.13.28.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 13:29:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bf+jqNEk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8DB6B2C4924; Thu, 17 Mar 2022 13:04:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235504AbiCQM7H (ORCPT + 99 others); Thu, 17 Mar 2022 08:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232971AbiCQMy6 (ORCPT ); Thu, 17 Mar 2022 08:54:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5358F40E68; Thu, 17 Mar 2022 05:53:42 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E3DB361506; Thu, 17 Mar 2022 12:53:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2558C340E9; Thu, 17 Mar 2022 12:53:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1647521621; bh=BvnQwBFKUR8gZMwjM693Z0CBO57IlbCYmgALUnEdvQc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bf+jqNEkPVCW5+IF3dDIANyfoUq8yArip7WWdW9LRWOGnlThd/CYOD+KxVW1eQQ2S iXHWCDGW5TfEObvlFbWKHIWkBupCtJ9qdMbIHn6JABvr1pzg+90+rVUfG9e7QTSmOd 1tZn3p9wsX5EfYxCTin2BA8AK8Xjdw0YwGeifCdM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Christophe JAILLET , "David S. Miller" , Sasha Levin Subject: [PATCH 5.16 26/28] bnx2: Fix an error message Date: Thu, 17 Mar 2022 13:46:17 +0100 Message-Id: <20220317124527.507452477@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220317124526.768423926@linuxfoundation.org> References: <20220317124526.768423926@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christophe JAILLET [ Upstream commit 8ccffe9ac3239e549beaa0a9d5e1a1eac94e866c ] Fix an error message and report the correct failing function. Signed-off-by: Christophe JAILLET Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/broadcom/bnx2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index babc955ba64e..b47a8237c6dd 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c @@ -8212,7 +8212,7 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev) rc = dma_set_coherent_mask(&pdev->dev, persist_dma_mask); if (rc) { dev_err(&pdev->dev, - "pci_set_consistent_dma_mask failed, aborting\n"); + "dma_set_coherent_mask failed, aborting\n"); goto err_out_unmap; } } else if ((rc = dma_set_mask(&pdev->dev, DMA_BIT_MASK(32))) != 0) { -- 2.34.1