From patchwork Mon Feb 23 12:05:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 5865191 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E28B09F373 for ; Mon, 23 Feb 2015 12:06:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 13DB620520 for ; Mon, 23 Feb 2015 12:06:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3AE4F204E2 for ; Mon, 23 Feb 2015 12:06:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752613AbbBWMGh (ORCPT ); Mon, 23 Feb 2015 07:06:37 -0500 Received: from mail-lb0-f182.google.com ([209.85.217.182]:39361 "EHLO mail-lb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752076AbbBWMGf (ORCPT ); Mon, 23 Feb 2015 07:06:35 -0500 Received: by lbvn10 with SMTP id n10so17967614lbv.6 for ; Mon, 23 Feb 2015 04:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id; bh=G4syb28KA+XyLoEJUtI4ycjBn6Jk7rXmluk3PbnB2Ac=; b=CFD8yhCdgxSmj52q98P8DcGx8PE3g8JDaXZgKmesHQW1Q+KiB/OpJPS9pBGZ7vsZwI 9CbJV7/fqlme1vljJ49mJ82w9MVpiIlMlwjw42WTKI43nEY59UJWjef15/KUJYppI9Pl /GYLJqsGasiinzPZrPvRDCBnoeBDOP6FC8Xlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=G4syb28KA+XyLoEJUtI4ycjBn6Jk7rXmluk3PbnB2Ac=; b=Tgmez91S49eRldkdNRtSrYjg4Z50VxKJhyysQZeecWf0E9wCNTiLywK/iyU+nokaoL 4lEcYB1+CkQWCHzdn/i7eZccsF+KATL4EtO1S0iMqP1qeGJ8toAEjldB3i0ZaMDHD5iJ yjD7u9IUS1vgvr900aq8m8I+T6B1OZGnW0E3ftY6qyDAtE/5KFZ+FJyRjwOVsCeyybdk W5jBEJZ3dTr+8YIvGkrHfJWPsoX76072MkpgbrURgXjJH6XTqfpUpyYHWgVPfR36yHGH DJ7ARaM6ja3LwM8sWbfAOy2EKznkDrzvDzDrTjgGfV/aJncyt9lryKZWbbXYM+tXfKSb st1Q== X-Gm-Message-State: ALoCoQnLRjQRy2qAZNj4ARfvbZpt4MHpmaAUCc6I9V9bNgRYalw4nx+VHv7wtYkKtAZQsacJFsGG X-Received: by 10.152.37.106 with SMTP id x10mr9317074laj.52.1424693194365; Mon, 23 Feb 2015 04:06:34 -0800 (PST) Received: from spencer.imf.au.dk ([130.225.20.51]) by mx.google.com with ESMTPSA id yt11sm2743593lab.11.2015.02.23.04.06.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Feb 2015 04:06:33 -0800 (PST) From: Rasmus Villemoes To: Larry Finger , Chaoming Li , Kalle Valo Cc: Rasmus Villemoes , linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] rtlwifi: rtl8821ae: Remove duplicate hex prefixes Date: Mon, 23 Feb 2015 13:05:59 +0100 Message-Id: <1424693160-7805-1-git-send-email-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.1.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The # flag in %X means print a 0X prefix. Remove the extra 0x prefix. Signed-off-by: Rasmus Villemoes --- The file uses a mix of explicit 0x prefixes and # flags, as well as a mix of %x and %X, so it's not clear what the most consistent choice would be. drivers/net/wireless/rtlwifi/rtl8821ae/hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c index 8ec8200002c7..3aca53d9acfb 100644 --- a/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c +++ b/drivers/net/wireless/rtlwifi/rtl8821ae/hw.c @@ -1515,7 +1515,7 @@ static bool _rtl8821ae_dynamic_rqpn(struct ieee80211_hw *hw, u32 boundary, (u8 *)(&support_remote_wakeup)); RT_TRACE(rtlpriv, COMP_INIT, DBG_LOUD, - "boundary=0x%#X, NPQ_RQPNValue=0x%#X, RQPNValue=0x%#X\n", + "boundary=%#X, NPQ_RQPNValue=%#X, RQPNValue=%#X\n", boundary, npq_rqpn_value, rqpn_val); /* stop PCIe DMA