Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp252881iol; Thu, 9 Jun 2022 03:15:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzansLzMyV4KHB7sDBkJA/NzogkPhOlj9y1lhzTt0rYXsJkaMUke0QGZUFDjjTf3Jp5Jai5 X-Received: by 2002:a63:1a1d:0:b0:3f5:eb02:b6b4 with SMTP id a29-20020a631a1d000000b003f5eb02b6b4mr34209567pga.343.1654769740736; Thu, 09 Jun 2022 03:15:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654769740; cv=none; d=google.com; s=arc-20160816; b=dNyEez59w1qonXWAubG5ALt6eqm4dMVsUKDZ1BIrMRMvIVqfR+2uzn6JyFkGSkPISI I963OwyKdWoy/PD63l2nb4QmKGWzKGfDflbbjXXiyeGaWutwNJQYGeS5F1XXYpTqq5RC 3Y2S9BMZKRO6XeyMNFcbY11yzvn3EL7MnZ+w0ZBC2T3yVOwjyyOSWuBcNhDNOlCbKB9Q NcQ3APfduGRoWd7+G9vX9ABkbmWWCYC8kXaknGGR9guqRTzvZidR70HAukhgb3lphJY9 BzyK0djBK3vYWubDIeBUwDBwXlYZoRRSh3q7WsQ4fikvkaoiwJFMSoYRqp4JcEZm+T20 x+2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=Q2pwucedLJckP6m5xLEV+aOW9a+HchX1lvdOEGyXsrk=; b=vRQN36WlokKuK7ps85uh+bN5OWDnxcX8Dn68aUHTAfgXKxk80NbwR45PQmAjk8remU JV0RPBfzgtUEhLOOZWq85nIUx0Nysu+XuXKuOFE/8eb6ZENnrYvSUb8I3M/MWsZbthxw IPyzter9ghghDsYoDc/58P/+m0pNxNtIRWVFKgatD/4hZVGPFrYxjh1ySaNl9UfqP67/ bKilLkpq3grmVpZD5nPtJMl3DXleQpY6Oww2dHZbRNj/LNpcY4RXfiN+LFQjotmH4WM3 7UlIRvycY6sVrnGdWh0NRxYdtJsLOeLsT4l3C5osKlruIkefmet+VrTafu0MSjjbxvT3 w55Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tyG7QlC1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b20-20020a170902b61400b00161f01e76easi27541205pls.249.2022.06.09.03.15.25; Thu, 09 Jun 2022 03:15:40 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tyG7QlC1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240123AbiFIJPY (ORCPT + 99 others); Thu, 9 Jun 2022 05:15:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230488AbiFIJPX (ORCPT ); Thu, 9 Jun 2022 05:15:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8272D18B3C; Thu, 9 Jun 2022 02:15:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 40D75B82C94; Thu, 9 Jun 2022 09:15:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7279C34114; Thu, 9 Jun 2022 09:15:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654766120; bh=lX78Npt98ey6/C0d5zscpNgpQhug1xdeRde7s5Ic9kY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=tyG7QlC1OnGqXvMPLcEu4g+pQiGZUkto+ogNWbw5iraEGvp0wutsDaP4EJ2AZLU14 B9pxaEyddmkfIeZVO+Irs6joZZLTLVb3m844L71DkUBiCmj1fOQ0ogsIp5HGEx+J3r Uz5yNnEwAPLDmwIHUx9IJ36/ytCCNJ5X+TC4m+6ZH9YXJEZHbOwe7UQA6vuYoeH7k+ HJWptw0zkxjKRNj8sfdBpBdDYczPjh+ICasQM6k7qpVm/gJjnth8DipZH7EALdATY5 xklbw1UhVcd5rYRxmVVRQ1eZNcpy74dMVbjwhopWLKp928oag8PHCfIvGq25hWt4PB /jEDQkWvvDKXQ== Date: Thu, 9 Jun 2022 11:15:16 +0200 (CEST) From: Jiri Kosina To: Yang Li cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH -next] HID: magicmouse: Fix some kernel-doc comments In-Reply-To: <20220602075821.49622-1-yang.lee@linux.alibaba.com> Message-ID: References: <20220602075821.49622-1-yang.lee@linux.alibaba.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Thu, 2 Jun 2022, Yang Li wrote: > 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 This is not a correct desciption; struct hid_device is much more than report descriptor. Could you please fix that up and resend? Thanks, -- Jiri Kosina SUSE Labs