Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp6266316ioo; Thu, 2 Jun 2022 02:43:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0M6DBqUN1+pCI3pinlsn5vmgJ0txPL7AgUGr+UYXPQzfaVa73mCaaunKCufvFjm5GId9U X-Received: by 2002:a17:907:2992:b0:70c:4ddf:5d88 with SMTP id eu18-20020a170907299200b0070c4ddf5d88mr305139ejc.20.1654162990145; Thu, 02 Jun 2022 02:43:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654162990; cv=none; d=google.com; s=arc-20160816; b=ImuhF3p9q/0VF6PalP4ZffN1fFPDbaValb7zAueK4bkRvHN/aJvnSocL9ByhdTIUNN HjEVD6wizxHgLaMJMOz+YT47f86uuktRKZ52t1WviqntQcfvLFXFeQvDv+O/JjFqEzAv fipuAWgfMntDMB1bG++NMkiEWed4ZqJ8RC0BN7kdZtbKF9BOIZfZxVeVenL889tJ87KJ dxOr1NFOGqdZ7tRv0i7UrvbfULM7is6ZGMdKOCsoV7c3BCRD4P9PR4ZrrkF32uGAlZU1 dRV4/+yB3rg73mFmfnhYeoG6SKXEi4ZdrqYjlt3y7d74U59oby/LCrzT702vVfT7uyfG PpAg== 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=KLacL4qAbLqBscOoA2GtniXYomgzlsKmrhpV8ykeOzI=; b=Us7zPiSO2/xOKmF85zTzrkoeyZN0rlCALVMm7fsT2LAWeNCueQUqlh4La1DszL2v7J 0RnlwDH8TMF3bvcTWgmgY0wcHuLz7Xeov4I6Av5LYWqLpeCqgbJ78Je9fnPk8Uq/2PDw RQ1o9XPrSukCSv+L//VyOCN21zGB1pvWXG0DhnRfoLDcaWLFHCvOnMyijwOZcpl1Vc+4 yEXWAOXe5EjAnHMPimj7cSALXscqI9YLIxFeOQkWX0jcJGGOPNz54ek35dNrCgY0VdhM 3ItM1OBT5s39dewZqbuuvEgW2dzxjWhbbIXnJPeMPMUIj7LraCh+izQby0EBFBbHwFGU qTkQ== 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 m16-20020a50ef10000000b0042be697d594si4005468eds.337.2022.06.02.02.42.42; Thu, 02 Jun 2022 02:43:10 -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 S231960AbiFBH6b (ORCPT + 99 others); Thu, 2 Jun 2022 03:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231894AbiFBH62 (ORCPT ); Thu, 2 Jun 2022 03:58:28 -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 48F11D6D; Thu, 2 Jun 2022 00:58:26 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04357;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VF9date_1654156703; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0VF9date_1654156703) by smtp.aliyun-inc.com(127.0.0.1); Thu, 02 Jun 2022 15:58:23 +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] HID: magicmouse: Fix some kernel-doc comments Date: Thu, 2 Jun 2022 15:58:21 +0800 Message-Id: <20220602075821.49622-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 --- 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..a13e07397e5d 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 + * @work: delayed work queue + * @battery_timer: a dynamic timer */ struct magicmouse_sc { struct input_dev *input; -- 2.20.1.7.g153144c