Message ID | 20201102112410.1049272-25-lee.jones@linaro.org (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Netdev Maintainers |
Headers | show
Return-Path: <SRS0=kv5d=EI=vger.kernel.org=netdev-owner@kernel.org> 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=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 2C29BC2D0A3 for <netdev@archiver.kernel.org>; Mon, 2 Nov 2020 11:27:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C2FA1207C3 for <netdev@archiver.kernel.org>; Mon, 2 Nov 2020 11:27:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="FxCRoUbj" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729007AbgKBL1K (ORCPT <rfc822;netdev@archiver.kernel.org>); Mon, 2 Nov 2020 06:27:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728750AbgKBLYx (ORCPT <rfc822;netdev@vger.kernel.org>); Mon, 2 Nov 2020 06:24:53 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3127C061A04 for <netdev@vger.kernel.org>; Mon, 2 Nov 2020 03:24:52 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id e2so9132604wme.1 for <netdev@vger.kernel.org>; Mon, 02 Nov 2020 03:24:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=O00sHeoq7zqB2CJlcbUNyhU2GOaz7UJ685HbihqjKQM=; b=FxCRoUbjgVNKk7HNy0zfK7Ysq7fk/pGHTzojrVEkM6DLmw3ICYot6hqkuW9TacfsS7 C1JitGKDV7nsumoh2YZSgBmp8X0Pbhtqo1bcQEHkwWjEDqef70DDjyndMdNy3lv8L8Lv CoivpKFBRslyMBL1Ae1LhHyziMeAPQkfdDVoN3iKlIZ/nOat4K8npipMSv6xug2OjzJC BoRviZDr/B42KExznjrNo3szFW3PcHnRK553HPrEwFHCh4LZRpO8bODHTJDyDaChy1R1 ZIwqwnbSJmlup0QvMKaJBM3kKI7rkB0RsVdgF6Dz5Fc/kCoSDGafT72YM6xOf/eiDOze yHFw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=O00sHeoq7zqB2CJlcbUNyhU2GOaz7UJ685HbihqjKQM=; b=YOmiaygYhiS+HwDmF+mCvlBFiZyYtyEUDg+pOHC0M3boKLK46QW/kXMkBMFmY8LZsw BkRJH/u4vV1PxT3+AAYepDi9y1cCK8nSAGnE9S8dJZdeEaQa6RPwg7gLwazdb35auYwE Fb0D5/to8aFxpdjxo8UydeBtLSwdC69FKU1Dt8ixAAPMD4hDY/hdsNJBI2pgQ6ttAtjT momM2v0lR2i2aGFRnGN7VNuBNawmwTrcukB2VtxbCrLFr5O7q/GS8zo0JcjPTzpgonoL B6ciKJVrRISzR44SSv7hQPCNbGnR7oE6AnyX06VrYinfs5a7FLJFY9UwTUHaJ2QqHMMI o99g== X-Gm-Message-State: AOAM533xbt4DTrKQVyraWz6JSAMtKxWOblU00nAXXHOVTg68jnj+kKjq JS1cRwEIjeIfyJ5lp1rtuSwh5DLxBuq8wA== X-Google-Smtp-Source: ABdhPJyeihrNn2QbmDeQeLSXqwCKFnxhucL/uwRzdauxI7/SvxS5e7FnGW8HV/kyWFK/61MdeNRReg== X-Received: by 2002:a1c:103:: with SMTP id 3mr16981441wmb.81.1604316291370; Mon, 02 Nov 2020 03:24:51 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id m14sm21867354wro.43.2020.11.02.03.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:24:50 -0800 (PST) From: Lee Jones <lee.jones@linaro.org> To: kvalo@codeaurora.org Cc: linux-kernel@vger.kernel.org, Lee Jones <lee.jones@linaro.org>, "David S. Miller" <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>, Fox Chen <mhchen@golf.ccl.itri.org.tw>, de Melo <acme@conectiva.com.br>, Gustavo Niemeyer <niemeyer@conectiva.com>, linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 24/41] wl3501_cs: Fix misspelling and provide missing documentation Date: Mon, 2 Nov 2020 11:23:53 +0000 Message-Id: <20201102112410.1049272-25-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201102112410.1049272-1-lee.jones@linaro.org> References: <20201102112410.1049272-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: <netdev.vger.kernel.org> X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org |
Series |
[01/41] wil6210: wmi: Correct misnamed function parameter 'ptr_'
|
expand
|
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 026e88b80bfc4..8ca5789c7b378 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c @@ -134,7 +134,7 @@ static const struct { /** * iw_valid_channel - validate channel in regulatory domain - * @reg_comain: regulatory domain + * @reg_domain: regulatory domain * @channel: channel to validate * * Returns 0 if invalid in the specified regulatory domain, non-zero if valid. @@ -458,11 +458,9 @@ static int wl3501_pwr_mgmt(struct wl3501_card *this, int suspend) /** * wl3501_send_pkt - Send a packet. * @this: Card - * - * Send a packet. - * - * data = Ethernet raw frame. (e.g. data[0] - data[5] is Dest MAC Addr, + * @data: Ethernet raw frame. (e.g. data[0] - data[5] is Dest MAC Addr, * data[6] - data[11] is Src MAC Addr) + * @len: Packet length * Ref: IEEE 802.11 */ static int wl3501_send_pkt(struct wl3501_card *this, u8 *data, u16 len)
Fixes the following W=1 kernel build warning(s): In file included from drivers/net/wireless/wl3501_cs.c:57: drivers/net/wireless/wl3501_cs.c:143: warning: Function parameter or member 'reg_domain' not described in 'iw_valid_channel' drivers/net/wireless/wl3501_cs.c:143: warning: Excess function parameter 'reg_comain' description in 'iw_valid_channel' drivers/net/wireless/wl3501_cs.c:469: warning: Function parameter or member 'data' not described in 'wl3501_send_pkt' drivers/net/wireless/wl3501_cs.c:469: warning: Function parameter or member 'len' not described in 'wl3501_send_pkt' Cc: Kalle Valo <kvalo@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Fox Chen <mhchen@golf.ccl.itri.org.tw> Cc: de Melo <acme@conectiva.com.br> Cc: Gustavo Niemeyer <niemeyer@conectiva.com> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/net/wireless/wl3501_cs.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)