From patchwork Tue Jun 4 17:28:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Norris X-Patchwork-Id: 10975823 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1D13014B6 for ; Tue, 4 Jun 2019 17:29:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0534C287D4 for ; Tue, 4 Jun 2019 17:29:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ED172287E2; Tue, 4 Jun 2019 17:29:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B4BD287D4 for ; Tue, 4 Jun 2019 17:29:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726416AbfFDR3F (ORCPT ); Tue, 4 Jun 2019 13:29:05 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:34952 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726245AbfFDR3E (ORCPT ); Tue, 4 Jun 2019 13:29:04 -0400 Received: by mail-pl1-f195.google.com with SMTP id p1so8611123plo.2 for ; Tue, 04 Jun 2019 10:29:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mFo+Cml7JxiPey2gwmiRmH8tPb+Deo/oS3silL2yxZc=; b=cBf5XbKESWpXtgyIzi/8h+k25RwP+X0uA6/LU0BccXujypKyhJkbIKEYGQd9tcfPNs W4vSpAt8axOiZd5j3jvEjzXC79+UULFH5sAYlOVAyzP3Y2GzclNlGnuY1LdnmSKSXRgT 3oHdfwDdRi7oMHldyCnZX6D/9a15qwBJmqK9A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=mFo+Cml7JxiPey2gwmiRmH8tPb+Deo/oS3silL2yxZc=; b=rYzyO6AK1vfEr6nBUJwmEXIJpE9YhJJ2Tf/qGmmpqE9z328hnXtch+vUbkq9ICViFc oRxNbfHDPQyORxBdmoIK/A29WSaBSwaCChg5/2DGHJ62owfIDGaY1yM+S46KjBe+hE3i N0DCF7saLPpGRy+GA6TBtvFAkSdjaLoaZXMrA2oYdiUiknpScIhdfhRKcAetPwIhcpqA gHRLRXHiFK2WwV5XQ0K2uF+gYLJXknXJQ8yX1CfvP9yuXhIEdL4KwswKkzEQhnuPYZ0U 4SVfRxY6s9g0xDtKnSOkVg8oE4WPIgk5AlU0mZIGpQlgFvCaEl9bJ0sT+oMq40hjOUZX IiCg== X-Gm-Message-State: APjAAAV3bWUCCAroj6wz2/RoSQ8MViiQkTwKVaU6evy6/VH7qMxaLX30 ZLsPQ2msuKPnyEPm2aRKAKYLkg== X-Google-Smtp-Source: APXvYqzPO4ICaqAPtnx7zJzFCLLGLjyR8STtZCGEnKZqvBb6BI3ZWdE7H0kogepUqmM0OHWQkgdnQw== X-Received: by 2002:a17:902:9a06:: with SMTP id v6mr21601217plp.71.1559669344327; Tue, 04 Jun 2019 10:29:04 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:1:534:b7c0:a63c:460c]) by smtp.gmail.com with ESMTPSA id b128sm13591829pfa.165.2019.06.04.10.29.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jun 2019 10:29:03 -0700 (PDT) From: Brian Norris To: Ganapathi Bhat , Nishant Sarmukadam , Amitkumar Karwar , Xinming Hu Cc: , linux-wireless@vger.kernel.org, Brian Norris Subject: [PATCH] mwifiex: drop 'set_consistent_dma_mask' log message Date: Tue, 4 Jun 2019 10:28:58 -0700 Message-Id: <20190604172858.107084-1-briannorris@chromium.org> X-Mailer: git-send-email 2.22.0.rc1.311.g5d7573a151-goog MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This message is pointless. While we're at it, include the error code in the error message, which is not pointless. Signed-off-by: Brian Norris --- drivers/net/wireless/marvell/mwifiex/pcie.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/marvell/mwifiex/pcie.c b/drivers/net/wireless/marvell/mwifiex/pcie.c index 3fe81b2a929a..82f58bf0fc43 100644 --- a/drivers/net/wireless/marvell/mwifiex/pcie.c +++ b/drivers/net/wireless/marvell/mwifiex/pcie.c @@ -2924,10 +2924,9 @@ static int mwifiex_init_pcie(struct mwifiex_adapter *adapter) pci_set_master(pdev); - pr_notice("try set_consistent_dma_mask(32)\n"); ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); if (ret) { - pr_err("set_dma_mask(32) failed\n"); + pr_err("set_dma_mask(32) failed: %d\n", ret); goto err_set_dma_mask; }