Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp989806iol; Thu, 9 Jun 2022 19:56:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcUoI21FDXaIgTDeLsoP0pCi5UQ2hlJ5MUDKwjeXg7j8FlbgFhb1A48gwXDIT6H5KZJ+oJ X-Received: by 2002:a17:90a:f2cb:b0:1e8:8ac2:bcdd with SMTP id gt11-20020a17090af2cb00b001e88ac2bcddmr6409299pjb.219.1654829791184; Thu, 09 Jun 2022 19:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654829791; cv=none; d=google.com; s=arc-20160816; b=qIzuPoLGcr8MvFOcnLuuIAUngKNY5g4ULPar9xuVW7xFT8oaNPXm/u7AumjfO1O660 pCqa7rXDYAq+3xCDX5MFn7t9o65CS1F7PGwH6bAbYP71uppwQYsEWbn62Wr10MR9UTEJ g4hhentFoY8q1p/zMeE1aAIXV3mFP3ZHW3nMMthzDOY0Pb9U0WDC61f0K3Vcut3gUxRZ rP2QO8XIzpXbBzGRE5fJpSmUEA18Wv2OAhEduWXkIeQm6PBT+/+o7PBPXUgjRPzndAAV hpKbQcB/PhWLFHs66rhE66humUodDLl+C+UvjtBwRAMkNAbQuqp+IxjBv3HdDGf6FvmH 5/1A== 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 :message-id:date:subject:cc:to:from; bh=MrfmoEIJmphocKvRu0bEG+OWv0PsVI+yAyOb6wDcnUQ=; b=G3NrUw4vsp8iIPx6AtA3/nelnX4mPzdxMbcGJfVMy/GBVABygASWqns7ExpC8BTw9u bTpAVQCBH1q00w6bzCIZWkX7spyl2Fo7oLcaLvnVdJVM0qoazNLC82t7eo9neSWtSxMZ yfTA35pmaW14Y+Oa1EF34r3MdoicC4q5l6e5Jrr540JQhsK2ns3luABZQutDg/S2IwPr Bta9WV6H+QQeG2XA1tl47h8Wnrk+rgfR1JuNkORqFcQBft2XsPd+UWWDxyMo+XLtfKEc ta1D2q/2UC7NIVEY/frBWcKPRpa6fREqAvA9g/FVJpOaJpqmK0pJowCTITVdAid0czLl 0tcw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb7-20020a170902bc8700b0015e583f7b54si32515656plb.14.2022.06.09.19.56.15; Thu, 09 Jun 2022 19:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242732AbiFJC1e (ORCPT + 99 others); Thu, 9 Jun 2022 22:27:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230148AbiFJC1b (ORCPT ); Thu, 9 Jun 2022 22:27:31 -0400 Received: from out30-54.freemail.mail.aliyun.com (out30-54.freemail.mail.aliyun.com [115.124.30.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23F43FF8; Thu, 9 Jun 2022 19:27:29 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R101e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VFxGP7K_1654828046; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VFxGP7K_1654828046) by smtp.aliyun-inc.com; Fri, 10 Jun 2022 10:27:27 +0800 From: Yang Li To: jikos@kernel.org Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next v2] HID: magicmouse: Fix some kernel-doc comments Date: Fri, 10 Jun 2022 10:27:25 +0800 Message-Id: <20220610022725.20265-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/hid/hid-magicmouse.c:148: warning: Function parameter or member 'hdev' not described in 'magicmouse_sc' drivers/hid/hid-magicmouse.c:148: warning: Function parameter or member 'work' not described in 'magicmouse_sc' drivers/hid/hid-magicmouse.c:148: warning: Function parameter or member 'battery_timer' not described in 'magicmouse_sc' Reported-by: Abaci Robot Signed-off-by: Yang Li --- Change in v2: --Improved the description of hdev. drivers/hid/hid-magicmouse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/hid/hid-magicmouse.c b/drivers/hid/hid-magicmouse.c index 664a624a363d..07a2d5bddf8a 100644 --- a/drivers/hid/hid-magicmouse.c +++ b/drivers/hid/hid-magicmouse.c @@ -120,6 +120,9 @@ MODULE_PARM_DESC(report_undeciphered, "Report undeciphered multi-touch state fie * @scroll_jiffies: Time of last scroll motion. * @touches: Most recent data for a touch, indexed by tracking ID. * @tracking_ids: Mapping of current touch input data to @touches. + * @hdev: device report descriptor, an instance of a HID device. + * @work: delayed work queue. + * @battery_timer: a dynamic timer. */ struct magicmouse_sc { struct input_dev *input; -- 2.20.1.7.g153144c