From patchwork Mon Feb 11 15:09:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kalle Valo X-Patchwork-Id: 10806077 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 E318713A4 for ; Mon, 11 Feb 2019 15:10:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7EFA2AAA1 for ; Mon, 11 Feb 2019 15:10:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6F2C2AAB5; Mon, 11 Feb 2019 15:10:42 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 69B0C2AAA1 for ; Mon, 11 Feb 2019 15:10:42 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=N8yL5cr1MJ4gT8+O6nR6kL6EHRU+2z9EEJBpeuBNlaA=; b=GDQp9EWxUkFC2A4LM+gLfk8iXE nlbF+UuuP0opAFYlu4JKBK3sCbje9ds1wDLDaPlos1ZKydX49BXsR7vBrcckwJPg0yXEyph/8M0p3 iF6v9u1BxD5Orc+eXmr8vBihM3orP/tcdu3hwK1d6zRrHUCdAjOOsGsTEZzzOH0N2tes6pNI0akh8 42GDAUZQSsWA+XEPyZLeKvNdFBgKiU3uc3i6VxIizM1bd0x291z7BRxA4o/nEFTdNCaA3jftoMRBk p7MFDvK6+UTj076HZ+TgkXRSJjwSZn/XyflDJPWiZN+ZOWdxY87at3PWFSs5OshwVIvnHVbDypJaF eRQCzLIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtDEE-0006Kw-MD; Mon, 11 Feb 2019 15:10:38 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gtDDc-0004Sc-4s for ath10k@lists.infradead.org; Mon, 11 Feb 2019 15:10:08 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id D1F7561256; Mon, 11 Feb 2019 15:09:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1549897799; bh=rDSLenA25ynzc50KNH0/wVklbe2LQZhxsEtz3RTN0RQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I2hujBnlAEYHNHE3r6vVkHVvMm6wrrgA8rOQNvKVuEpHPp9ilK2yUaSS4kEQxytIl 8ZafJsHbeJLEZlDR/Cw6WgRpQ9rLpciPDLZicWaFymYWJMp1VcT5WjkyufFmqthIJx MWUmbKulIGkz8VU/Nek2joz2jhOoYTbI0kwkTFlw= Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 35BC5619D7; Mon, 11 Feb 2019 15:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1549897799; bh=rDSLenA25ynzc50KNH0/wVklbe2LQZhxsEtz3RTN0RQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I2hujBnlAEYHNHE3r6vVkHVvMm6wrrgA8rOQNvKVuEpHPp9ilK2yUaSS4kEQxytIl 8ZafJsHbeJLEZlDR/Cw6WgRpQ9rLpciPDLZicWaFymYWJMp1VcT5WjkyufFmqthIJx MWUmbKulIGkz8VU/Nek2joz2jhOoYTbI0kwkTFlw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 35BC5619D7 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: ath10k@lists.infradead.org Subject: [PATCH 5/6] ath10k: fix documentation in ath10k_wow_convert_8023_to_80211() Date: Mon, 11 Feb 2019 17:09:46 +0200 Message-Id: <1549897787-28537-5-git-send-email-kvalo@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549897787-28537-1-git-send-email-kvalo@codeaurora.org> References: <1549897787-28537-1-git-send-email-kvalo@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190211_071000_384177_91005E95 X-CRM114-Status: GOOD ( 10.39 ) 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 MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP With W=1 there's a warning: drivers/net/wireless/ath/ath10k/wow.c:93: warning: Function parameter or member 'new' not described in 'ath10k_wow_convert_8023_to_80211' drivers/net/wireless/ath/ath10k/wow.c:93: warning: Function parameter or member 'old' not described in 'ath10k_wow_convert_8023_to_80211' Fix it by changing the documentation marker '/**' to a normal code comment. While at it, clean up the line wrapping. Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/wow.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wow.c b/drivers/net/wireless/ath/ath10k/wow.c index 36d4245c308e..b36fa0f8892e 100644 --- a/drivers/net/wireless/ath/ath10k/wow.c +++ b/drivers/net/wireless/ath/ath10k/wow.c @@ -77,7 +77,7 @@ static int ath10k_wow_cleanup(struct ath10k *ar) return 0; } -/** +/* * Convert a 802.3 format to a 802.11 format. * +------------+-----------+--------+----------------+ * 802.3: |dest mac(6B)|src mac(6B)|type(2B)| body... | @@ -88,9 +88,8 @@ static int ath10k_wow_cleanup(struct ath10k *ar) * 802.11: |4B|dest mac(6B)| 6B |src mac(6B)| 8B |type(2B)| body... | * +--+------------+----+-----------+---------------+-----------+ */ -static void ath10k_wow_convert_8023_to_80211 - (struct cfg80211_pkt_pattern *new, - const struct cfg80211_pkt_pattern *old) +static void ath10k_wow_convert_8023_to_80211(struct cfg80211_pkt_pattern *new, + const struct cfg80211_pkt_pattern *old) { u8 hdr_8023_pattern[ETH_HLEN] = {}; u8 hdr_8023_bit_mask[ETH_HLEN] = {};