From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham 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 0BED2C433E2 for ; Wed, 9 Sep 2020 17:00:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B56A620C09 for ; Wed, 9 Sep 2020 17:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599670841; bh=2/yKtEUICes8Nbwus1uyctYK8EdcFW1fE//ARdB9QF0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=qFTnEqeXWk8O2yM/qtOQ/hLp/tlK7Em24IMOEZBJwhkQqpaaz3klNQddp1Zh/Flqo 4V0kjBnOYXsrYHsCoBj33osOU+4hf8xBKOc7hQWkiuBpOytmwI9+iVsrEAEVYZbKqe 8ns+MSqu43ZxRIOx6IDRja9GHw4Mytauf3bJFn4I= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731256AbgIIRAj (ORCPT ); Wed, 9 Sep 2020 13:00:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:51428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730631AbgIIPvM (ORCPT ); Wed, 9 Sep 2020 11:51:12 -0400 Received: from mail.kernel.org (ip5f5ad5d6.dynamic.kabel-deutschland.de [95.90.213.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E59822227; Wed, 9 Sep 2020 14:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599660665; bh=2/yKtEUICes8Nbwus1uyctYK8EdcFW1fE//ARdB9QF0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Vr14xcXryE0ERgqBs+nLcsfPoWHnAbO1EY093bosqoOe2E039x9mKItxYQlGLCL2b bKtm/7T7xrLwpXj/r0ASWB9zD5Fpq2PeOOlq0HMoL40MECPF5XYpoehUDckqj/4tKH kz5cFEr3IVb1HetQyTP/cqTayT3Hu3p/pqDrkPlU= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kG0oR-00DUXU-Kf; Wed, 09 Sep 2020 16:11:03 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List , Jonathan Corbet Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org Subject: [PATCH 21/30] iio: industrialio-core.c: solve a kernel-doc warning Date: Wed, 9 Sep 2020 16:10:52 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org kernel-doc currently compains with: ./drivers/iio/industrialio-core.c:177: warning: Function parameter or member 'indio_dev' not described in 'iio_get_debugfs_dentry' ./drivers/iio/industrialio-core.c:1530: warning: Function parameter or member 'parent' not described in 'iio_device_alloc' The problem is that the comment just before iio_get_debugfs_dentry() is just a comment, and not really a kernel-doc markup. Signed-off-by: Mauro Carvalho Chehab --- drivers/iio/industrialio-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index d882c7f31ba9..b05ff9154310 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -169,7 +169,7 @@ static const char * const iio_chan_info_postfix[] = { }; #if defined(CONFIG_DEBUG_FS) -/** +/* * There's also a CONFIG_DEBUG_FS guard in include/linux/iio/iio.h for * iio_get_debugfs_dentry() to make it inline if CONFIG_DEBUG_FS is undefined */ -- 2.26.2