From patchwork Thu Mar 16 09:11:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 9627713 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.web.codeaurora.org (Postfix) with ESMTP id 4BD06604A9 for ; Thu, 16 Mar 2017 09:11:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33B5A2808F for ; Thu, 16 Mar 2017 09:11:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 284F828673; Thu, 16 Mar 2017 09:11:44 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C2DDC2808F for ; Thu, 16 Mar 2017 09:11:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:To:From: Subject:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=2DGCdag499M6OPHwYCQbjsLgdwuFEYLY5qdD9MGHSDY=; b=e6VkO1jTggb/pB wcfQi1pn52BWbM4jZU3YSi1AbavIoiHzsf2t3K67sMQiY+C4QINaRjYDBhMLlFswL/XTb2xGp+1k2 0JKjRYXPApjP4GRQdUtPI4/bq5CHrPcLivnSJ/OiMrvBZ0Avne/MRGeojdOnn0zuhyEHB0RsDruKt GzRRQ6naU0iSREE+pvoRXfwjV2JwatkL3eMEpqsdHnvMIQBnr40b20ELJsUvZnr08vQX362TBBGzd acL3Y9Sm1s+84fA6bFvoOO0y7WTj/raw/4cJE1d9bbPe3wAXCl/lywTgJW++vUYgDW1B2ykoLxALH afPJfwakDumwKEO4Q2ZA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1coRRZ-00010D-NS; Thu, 16 Mar 2017 09:11:37 +0000 Received: from wolverine01.qualcomm.com ([199.106.114.254]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coRRV-0000vU-PA for ath10k@lists.infradead.org; Thu, 16 Mar 2017 09:11:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qca.qualcomm.com; i=@qca.qualcomm.com; q=dns/txt; s=qcdkim; t=1489655493; x=1521191493; h=subject:from:to:cc:date:message-id:mime-version: content-transfer-encoding; bh=M3maNMk2Ec+buHNkAE34OhVheZfo49Xxcv7/FKcxGo0=; b=EO3YHmZOOxRxhu1+S6tKvzhICazRi7eZ7dtIHsITRO3yxC/OaKTtRT9Y zic0dhRv820cFDen0sch+nk0H1776vNSIWQby5DkeZ0fHuAUMVQUBqWT1 bvn6F39Vc3/u2wyWQIHwjnbYspGJRocUTSnJs5/n1v0Lhlft3i8f63YwW Q=; X-IronPort-AV: E=Sophos;i="5.36,170,1486454400"; d="scan'208";a="270931160" Received: from unknown (HELO Ironmsg03-L.qualcomm.com) ([10.53.140.110]) by wolverine01.qualcomm.com with ESMTP; 16 Mar 2017 02:11:12 -0700 X-IronPort-AV: E=McAfee;i="5800,7501,8468"; a="1332476849" X-MGA-submission: =?us-ascii?q?MDGkNoefzJvy+AEBgcGlO1PmQZ/sbE/wSuZP+F?= =?us-ascii?q?5R2gzIQQQGU1DLfdjJgnPOKLS1WXd8emI95kfj4CzDq22CZazIKzQvlg?= =?us-ascii?q?ICWjfvKxYUdNu1vpTIJgo+n2A0my05EFsirwo4Zr17l+75y0PuASGJPB?= =?us-ascii?q?vj?= Received: from nasanexm01e.na.qualcomm.com ([10.85.0.31]) by Ironmsg03-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 16 Mar 2017 02:11:12 -0700 Received: from euamsexm01a.eu.qualcomm.com (10.251.127.40) by NASANEXM01E.na.qualcomm.com (10.85.0.31) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 16 Mar 2017 02:11:11 -0700 Received: from potku.adurom.net (10.80.80.8) by euamsexm01a.eu.qualcomm.com (10.251.127.40) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Thu, 16 Mar 2017 10:11:06 +0100 Subject: [PATCH] ath10k: fix warnings from an earlier commit From: Kalle Valo To: Date: Thu, 16 Mar 2017 11:11:02 +0200 Message-ID: <148965546273.3007.5273967631982279383.stgit@potku.adurom.net> User-Agent: StGit/0.17.1-17-ge4e0 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01G.na.qualcomm.com (10.85.0.33) To euamsexm01a.eu.qualcomm.com (10.251.127.40) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170316_021134_006921_833D0569 X-CRM114-Status: UNSURE ( 5.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-wireless@vger.kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP I failed to notice that commit 523f6701dbab ("ath10k: update available channel list for 5G radio") added two new warnings: drivers/net/wireless/ath/ath10k/mac.c:3129:6: warning: symbol 'ath10k_mac_update_channel_list' was not declared. Should it be static? drivers/net/wireless/ath/ath10k/mac.c:3170: Alignment should match open parenthesis Fix those. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/mac.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index a25f0ec15cf8..d60086cdc584 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -3126,8 +3126,8 @@ static void ath10k_regd_update(struct ath10k *ar) ath10k_warn(ar, "failed to set pdev regdomain: %d\n", ret); } -void ath10k_mac_update_channel_list(struct ath10k *ar, - struct ieee80211_supported_band *band) +static void ath10k_mac_update_channel_list(struct ath10k *ar, + struct ieee80211_supported_band *band) { int i; @@ -3167,7 +3167,7 @@ static void ath10k_reg_notifier(struct wiphy *wiphy, if (ar->phy_capability & WHAL_WLAN_11A_CAPABILITY) ath10k_mac_update_channel_list(ar, - ar->hw->wiphy->bands[NL80211_BAND_5GHZ]); + ar->hw->wiphy->bands[NL80211_BAND_5GHZ]); } /***************/