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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 268C9C43460 for ; Wed, 14 Apr 2021 18:15:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 088C861179 for ; Wed, 14 Apr 2021 18:15:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353053AbhDNSPq (ORCPT ); Wed, 14 Apr 2021 14:15:46 -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-Google-Smtp-Source: ABdhPJyHNW9DGM/DSJasteQxN/CjRvI3zbzl8CAxHz1wzLPKutcwdMpurcUc4MKqBRTwAV1NJz154A== 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