Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp356100pxb; Wed, 14 Apr 2021 17:41:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy30o3Tax3xCyKD1v7KIGkinYMZITtladbljel7DNBvegu0XeCtQ/0GcfPJqTIiZNPUss4y X-Received: by 2002:a17:902:c40e:b029:e9:3fb8:872f with SMTP id k14-20020a170902c40eb02900e93fb8872fmr1033597plk.74.1618447261780; Wed, 14 Apr 2021 17:41:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618447261; cv=none; d=google.com; s=arc-20160816; b=pUDPhBuhkT6URQm3/aq5c0j0H7JThZ/jtwpOvrCld7sJjGOGXsPRcXM6BgaRqV1T2j VAupEDgoBtvfx0dtMImApWQrQazhUoRv+U0WFEs6ZlLVNYIf+EI+NovJDJQrCvQtp9ot GaR+0qDxcShHPUL/3iO/79R6ums3svAEjoKuWxjh2WymwuF8SWCLJDZZF+7C7WGTmNBR /MtYu+2TVZhyF4b1yOWMI2cPX5PRwxyqFbYOkPX/SMMq4dflkJ8F1kxPiqE/8QfcSFiQ wbdyBS0m3jAPAN0o3k161VGG4/gP4UvnJycdA0c8Ylmu3m0y5LxUm2Uqd7FGUNdGwQbw dmqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=neVPOglzQUO+/apA8h71mx7XbCHUA+cecpWGqwq81h0=; b=NJ+I9spJnzsyhdZqGWosPy2YzVwu266t4f+kAsaHD/AqTW4Gvq5V5bGPVBYxn+W49a 2d9Xe6xtmormT6euDRHDbWyDPbJnNwbPQiJYZWCIv7cEoScq4fZVUJj1VgSMD9/K665S MUgcp3ZzR0P3IKfY9v0PGBpao61A/K/R7ivUtM7p4k5+eJXk9w6C9dMRk+LVNFif2Z+Q jXNTEZxzag3KpsFOiGfV2AkcVrbMbZNpnp6LP2yUoWtoQpld93+sJ1Hwpf1CjOLFg2lq orYFfJOLwPgQZfxepAh4yPhXSeqdBvsLGqh0YIjneA4A9hWjgvU1OxtibBu/NviWOVMu FkGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="r/pszreP"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c27si1464287pgb.88.2021.04.14.17.40.50; Wed, 14 Apr 2021 17:41:01 -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; dkim=pass header.i=@linaro.org header.s=google header.b="r/pszreP"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352872AbhDNSPi (ORCPT + 99 others); Wed, 14 Apr 2021 14:15:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352568AbhDNSMv (ORCPT ); Wed, 14 Apr 2021 14:12:51 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4225CC061574 for ; Wed, 14 Apr 2021 11:12:27 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id r12so32835215ejr.5 for ; Wed, 14 Apr 2021 11:12:27 -0700 (PDT) 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=neVPOglzQUO+/apA8h71mx7XbCHUA+cecpWGqwq81h0=; b=r/pszrePahX/ZIEw/qPCROxcL67jj2Jw7yxq3p1QccmFamerTMq4UgpXgwvPCWexv1 IoW3+dI2kL3+E+awmsF2NfPcIEfRnV6g0dfRQY/QMop26+/DJ/skzVL8x8uHsmlrL/h7 aN4XfOvXaLiqUKv9yH7SUIsCRP2ALulQGfTg2q6Ve+lKjto++zhFvMmKw/y3I3z5KF3z nZnzvmC2WMAVsU4n67D7VAM718T/bCl/g+1fJ6l8pAt2piM/oligHQ1m950ATZFpthwD LVRIxFAJC6kTT8uLjSd5SCUgUM2F1hzHEUPRtpqkoX+TdPeO75Gh0JgdaujXeBIy7mY7 OYFQ== 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=neVPOglzQUO+/apA8h71mx7XbCHUA+cecpWGqwq81h0=; b=LK9m+DYWg6m1nqYZZmrO3toiO67iwrda4866pzm2/knXFQmzDdP393Vxj8dHC2e6V/ ZDaqXKDBcbfxaeICwbPZJU0myZ/lUA60hMRSblFnjTZOpl2SB3w1vdv9hkNTx1ktB1Wm 2QlP4ycQDtlvDHQlJJxBUDLiOOpwRohZ245O0hIgzY4uyRpDNtvo3TeyK9loH6X6AqXs 8VymrZ4BsntD6Y/6EhN6y2fXn5JYwyNt25dmQUCtFF3PDOajgp1LnO722PE02qcVAMWX b6PRbXmo3uv8rglJPOBIxAolP5WxxyQt82IbWlXjSEM/fxniH3zimgajdGy7uVI5YHIy unRg== X-Gm-Message-State: AOAM532DG2NOWBgUrZKmLtfXCrk075oYLmPKy7rPDv20gecIWUQGlmlR G3D9jgvdFgYBgIfUN2PGf0Sj2A== X-Received: by 2002:a17:906:d555:: with SMTP id cr21mr191527ejc.66.1618423946041; Wed, 14 Apr 2021 11:12:26 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id v1sm279493eds.17.2021.04.14.11.12.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 11:12:25 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Ian Abbott , H Hartley Sweeten , Greg Kroah-Hartman , Mori Hess , "J.P. Mellor" , Herman.Bruyninckx@mech.kuleuven.ac.be, Wim.Meeussen@mech.kuleuven.ac.be, Klaas.Gadeyne@mech.kuleuven.ac.be, Comedi , linux-staging@lists.linux.dev Subject: [PATCH 49/57] staging: comedi: drivers: ni_tio: Fix slightly broken kernel-doc and demote others Date: Wed, 14 Apr 2021 19:11:21 +0100 Message-Id: <20210414181129.1628598-50-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210414181129.1628598-1-lee.jones@linaro.org> References: <20210414181129.1628598-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/staging/comedi/drivers/ni_tio.c:1515: warning: Function parameter or member 'counter_dev' not described in 'ni_tio_get_routing' drivers/staging/comedi/drivers/ni_tio.c:1515: warning: Function parameter or member 'dest' not described in 'ni_tio_get_routing' drivers/staging/comedi/drivers/ni_tio.c:1515: warning: expecting prototype for Retrieves the register value of the current source of the output selector for(). Prototype was for ni_tio_get_routing() instead drivers/staging/comedi/drivers/ni_tio.c:1544: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst drivers/staging/comedi/drivers/ni_tio.c:1584: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst Cc: Ian Abbott Cc: H Hartley Sweeten Cc: Greg Kroah-Hartman Cc: Mori Hess Cc: "J.P. Mellor" Cc: Herman.Bruyninckx@mech.kuleuven.ac.be Cc: Wim.Meeussen@mech.kuleuven.ac.be Cc: Klaas.Gadeyne@mech.kuleuven.ac.be Cc: Comedi Cc: linux-staging@lists.linux.dev Signed-off-by: Lee Jones --- drivers/staging/comedi/drivers/ni_tio.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/comedi/drivers/ni_tio.c b/drivers/staging/comedi/drivers/ni_tio.c index f6154addaa956..da6826d77e600 100644 --- a/drivers/staging/comedi/drivers/ni_tio.c +++ b/drivers/staging/comedi/drivers/ni_tio.c @@ -1501,7 +1501,7 @@ int ni_tio_insn_config(struct comedi_device *dev, } EXPORT_SYMBOL_GPL(ni_tio_insn_config); -/** +/* * Retrieves the register value of the current source of the output selector for * the given destination. * @@ -1541,10 +1541,10 @@ int ni_tio_get_routing(struct ni_gpct_device *counter_dev, unsigned int dest) EXPORT_SYMBOL_GPL(ni_tio_get_routing); /** - * Sets the register value of the selector MUX for the given destination. - * @counter_dev:Pointer to general counter device. - * @destination:Device-global identifier of route destination. - * @register_value: + * ni_tio_set_routing() - Sets the register value of the selector MUX for the given destination. + * @counter_dev: Pointer to general counter device. + * @dest: Device-global identifier of route destination. + * @reg: * The first several bits of this value should store the desired * value to write to the register. All other bits are for * transmitting information that modify the mode of the particular @@ -1580,7 +1580,7 @@ int ni_tio_set_routing(struct ni_gpct_device *counter_dev, unsigned int dest, } EXPORT_SYMBOL_GPL(ni_tio_set_routing); -/** +/* * Sets the given destination MUX to its default value or disable it. * * Return: 0 if successful; -EINVAL if terminal is unknown. -- 2.27.0