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=-10.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 08C3BC4740A for ; Tue, 10 Sep 2019 13:43:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C9B7E20863 for ; Tue, 10 Sep 2019 13:43:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="nebXwybS" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731920AbfIJNnY (ORCPT ); Tue, 10 Sep 2019 09:43:24 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:4418 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729662AbfIJNnY (ORCPT ); Tue, 10 Sep 2019 09:43:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1568123003; x=1599659003; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=tLtfeU4ImV7XDlhwuegfp96peNKe36QbTQrf1JDhwGw=; b=nebXwybSAEKPPIFMmzVzGY5K13md+hr+/Gn+8OWfn1t3VrQ2lipG0zDq OFcZyqY1q14S35zqaBOx6RjxueEmnE9HgF14PfW41Vt9j6aCseE0yzwB6 HA8TfIc3kg5yl6b13/PmQw415kwAhLYKup8UbWFTa76aDmsquV1ZhJvB4 I=; X-IronPort-AV: E=Sophos;i="5.64,489,1559520000"; d="scan'208";a="701811947" Received: from sea3-co-svc-lb6-vlan3.sea.amazon.com (HELO email-inbound-relay-2a-8549039f.us-west-2.amazon.com) ([10.47.22.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 10 Sep 2019 13:43:21 +0000 Received: from EX13MTAUEA001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan2.pdx.amazon.com [10.170.41.162]) by email-inbound-relay-2a-8549039f.us-west-2.amazon.com (Postfix) with ESMTPS id DD797A1C62; Tue, 10 Sep 2019 13:43:20 +0000 (UTC) Received: from EX13D22EUA001.ant.amazon.com (10.43.165.37) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 10 Sep 2019 13:43:20 +0000 Received: from EX13MTAUWC001.ant.amazon.com (10.43.162.135) by EX13D22EUA001.ant.amazon.com (10.43.165.37) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Tue, 10 Sep 2019 13:43:19 +0000 Received: from 8c85908914bf.ant.amazon.com (10.95.79.108) by mail-relay.amazon.com (10.43.162.232) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Tue, 10 Sep 2019 13:43:15 +0000 From: Gal Pressman To: Doug Ledford , Jason Gunthorpe CC: , Gal Pressman , "Daniel Kranzdorf" , Firas JahJah Subject: [PATCH for-next 1/4] RDMA/efa: Fix incorrect error print Date: Tue, 10 Sep 2019 14:42:58 +0100 Message-ID: <20190910134301.4194-2-galpress@amazon.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190910134301.4194-1-galpress@amazon.com> References: <20190910134301.4194-1-galpress@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org The error print should indicate that it failed to get the queue attributes, not network attributes. Reviewed-by: Daniel Kranzdorf Reviewed-by: Firas JahJah Signed-off-by: Gal Pressman --- drivers/infiniband/hw/efa/efa_com_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/efa/efa_com_cmd.c b/drivers/infiniband/hw/efa/efa_com_cmd.c index 501dce89f275..c079f1332082 100644 --- a/drivers/infiniband/hw/efa/efa_com_cmd.c +++ b/drivers/infiniband/hw/efa/efa_com_cmd.c @@ -481,7 +481,7 @@ int efa_com_get_device_attr(struct efa_com_dev *edev, EFA_ADMIN_QUEUE_ATTR); if (err) { ibdev_err_ratelimited(edev->efa_dev, - "Failed to get network attributes %d\n", + "Failed to get queue attributes %d\n", err); return err; } -- 2.23.0