Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1156855pxj; Sat, 15 May 2021 05:42:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaPR4Zey0OgnSbAJeDk+ph1RTq5IBNNWsaoVJKZcgpCX5nN6n4g7RRE7g7km9QRukB58je X-Received: by 2002:a05:6402:199:: with SMTP id r25mr60446435edv.128.1621082540467; Sat, 15 May 2021 05:42:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621082540; cv=none; d=google.com; s=arc-20160816; b=dipsAiczqrv7JpeD8ecvt/reyuLSniv9v1XkzwDiuWAnKTw2gWkwxI8oWwsxvJWlu6 uJdxc5vHpC8UcyL12ms320OwvYOrsWrVgKx7X2Fb9FCKlqx9WQ2uUBEpb/EnhKcpxH0i vEW2N2l0ZZEpPFsC4mxV7ioJZwHJEITIBmi6sGs2PcTnqY7AB9nulnUWA6xDKgf+bMWT yzi5VsUjWFD6jAutxo8iybXN5rl9MXdKEEWaADxlfAryLrV56hNss0rtGD89LHOmKrD3 ZFtZULQWkdyvPQu1SiXGYeWhFtRlqOHZaJ+SBoSYDIIYexR+e/yAsecD2egEybGFahdn 2pWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=a7rwth+FFSMqfcbUIH+8Rn/FXd0keuAAGlDEtVzTxuM=; b=XvQTs5ZpnOqWVGydLbqeKdmzsHa2GmsicC2gO2PWhuHWpvTdYuC3CeG+ZJd9bhgpPM eo82Gx7hUQ9+60aD+ZApQwHHMv0VXmuZtJ7v09IUmIyFV6tXaLUqYaF4bgM33pe5wXNE NN2lMJVn95vIyQqjIy8J1v0N2awAbqkR1gXHYo3gYqARM8Nt/2oF/G4Npq486w2ueFnK v7AbJpfC+cCP6a7GCg6c3nPh5CPJ1ArHcAOY2WeAWziKSwktaX+qE2xf/rpvVRpFPkFr yYuvU1j43HpS88uAJaRUI+I0F9zLaqELHMlbLAk2UR89kIY4JA+PmAcf3pkW+4Qg4J/N 558A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 8si8425957ejn.615.2021.05.15.05.41.57; Sat, 15 May 2021 05:42:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233050AbhEOLAS (ORCPT + 99 others); Sat, 15 May 2021 07:00:18 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:3543 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233153AbhEOKz5 (ORCPT ); Sat, 15 May 2021 06:55:57 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Fj2Jn6YFBzsRJV; Sat, 15 May 2021 18:51:53 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Sat, 15 May 2021 18:54:29 +0800 From: Yang Shen To: , CC: , , Yang Shen , Maya Erez Subject: [PATCH 26/34] net: ath: wil6210: Fix wrong function name in comments Date: Sat, 15 May 2021 18:53:51 +0800 Message-ID: <1621076039-53986-27-git-send-email-shenyang39@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> References: <1621076039-53986-1-git-send-email-shenyang39@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/wil6210/interrupt.c:28: warning: expecting prototype for Theory of operation(). Prototype was for WIL6210_IRQ_DISABLE() instead drivers/net/wireless/ath/wil6210/wmi.c:227: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/net/wireless/ath/wil6210/wmi.c:245: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/net/wireless/ath/wil6210/wmi.c:263: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Maya Erez Signed-off-by: Yang Shen --- drivers/net/wireless/ath/wil6210/interrupt.c | 2 +- drivers/net/wireless/ath/wil6210/wmi.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/ath/wil6210/interrupt.c b/drivers/net/wireless/ath/wil6210/interrupt.c index d13d081..6717238 100644 --- a/drivers/net/wireless/ath/wil6210/interrupt.c +++ b/drivers/net/wireless/ath/wil6210/interrupt.c @@ -9,7 +9,7 @@ #include "wil6210.h" #include "trace.h" -/** +/* * Theory of operation: * * There is ISR pseudo-cause register, diff --git a/drivers/net/wireless/ath/wil6210/wmi.c b/drivers/net/wireless/ath/wil6210/wmi.c index 02ad449..2dc8406 100644 --- a/drivers/net/wireless/ath/wil6210/wmi.c +++ b/drivers/net/wireless/ath/wil6210/wmi.c @@ -224,7 +224,7 @@ struct auth_no_hdr { u8 led_polarity = LED_POLARITY_LOW_ACTIVE; /** - * return AHB address for given firmware internal (linker) address + * wmi_addr_remap - return AHB address for given firmware internal (linker) address * @x: internal address * If address have no valid AHB mapping, return 0 */ @@ -242,7 +242,7 @@ static u32 wmi_addr_remap(u32 x) } /** - * find fw_mapping entry by section name + * wil_find_fw_mapping - find fw_mapping entry by section name * @section: section name * * Return pointer to section or NULL if not found @@ -260,7 +260,7 @@ struct fw_map *wil_find_fw_mapping(const char *section) } /** - * Check address validity for WMI buffer; remap if needed + * wmi_buffer_block - Check address validity for WMI buffer; remap if needed * @wil: driver data * @ptr_: internal (linker) fw/ucode address * @size: if non zero, validate the block does not -- 2.7.4