Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6068270rwl; Thu, 29 Dec 2022 07:07:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXvuaYep9Thicwuy3zfKNjeK/EarAOR/89nUwiVsx1bW3i161lslBW/NJjIiWhYuvhNcq+o6 X-Received: by 2002:a50:ef11:0:b0:461:f201:2d98 with SMTP id m17-20020a50ef11000000b00461f2012d98mr24946125eds.3.1672326430271; Thu, 29 Dec 2022 07:07:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672326430; cv=none; d=google.com; s=arc-20160816; b=CryyIkWmiXOE/4urVvucI1DrMTArcjOmBI37tfmB2+PqK64ubH232ACcZmJ1EJRJ7A jNBtTTPXh99mdOXJ9kjZnO0CH6+7UuCDam/gNS7UU4a57wOhOq/uvxwIY//eHK9oDBYG 3WrFMHJgQfSDSVzlfZdpzAqlGV7kc8krIw9zhTSgq+e6WYQjGSTOa62hUEeN2sWoBnn0 UrRnhg4mpdvnsL6HVBl5bCvZoZResn54eyFY3ThgSd42pq3wCG6h3LDWYDdyaxZaCVVR kWLgzWlXOL8ot9KEoODIRlZ80wrP5B8+JExz+0rapeq1ywJfYvYem4qQJsewjWO0BcoD VJYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=Z84XJBrbjjgB7h6MX2cW9/mDdKRwVfj1W8PqW92axJc=; b=vg/16r0pPXNqckm3Y8+BLN9EJ2PZXIcBquWussbY/ZzdsLNhBfu8zmlProflsJJwDM Fvfvh6wQ0msRQFfNg3/DPOuLfpyPyLzKnGQes/r65jgvA5Gv5Edew99CNTSSrJiiZcxD CYqdiJo6PU03golg9Hkmyq6KF5P99hjHKf5GcUzZQvR2gc9BvmblXUNK8opSTHMHix3U fEaMNWBn+ERbALE0W6DBuAqhHVpxAQznTsIRLkfOeWWv9SLTm1lO9a3ZC19cChHKeWwg ywru91FiBr8Xl/42syhXUZAp1O53RCoMusnAfXfLA+5ZwQKnqd1rtezwj6kdwLD4I4MQ 0T7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Jnn8vCpC; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k8-20020aa7d8c8000000b0046b10da2e10si15261613eds.307.2022.12.29.07.06.37; Thu, 29 Dec 2022 07:07:10 -0800 (PST) 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=@gmail.com header.s=20210112 header.b=Jnn8vCpC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233125AbiL2Osx (ORCPT + 62 others); Thu, 29 Dec 2022 09:48:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbiL2Osv (ORCPT ); Thu, 29 Dec 2022 09:48:51 -0500 Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2D14F71; Thu, 29 Dec 2022 06:48:50 -0800 (PST) Received: by mail-oi1-x235.google.com with SMTP id e205so17280238oif.11; Thu, 29 Dec 2022 06:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=Z84XJBrbjjgB7h6MX2cW9/mDdKRwVfj1W8PqW92axJc=; b=Jnn8vCpC3ojrwjucR7qWhO1zZEk9/l3T8EVUhorm59/XOcagERH65A3GJYyg2aDsmb 60Bk3dpMCvqindTn5nYUbYAhMUqgK5vjyT3HAEqftXnQUYVl/uUWJMXHYvDpopvBe4BT Eha8MzidOvGdtTX0YydMuWjAaRTcAwOOf+b3h22ZErf+VJjPCzn2/flmLxKpK16Z0EEU zUaMo/Yl4ZZQFfXkVMiaEDZ7DIFqyLEV5vUuGMGgKUsodXaZ4eBXxlyNlSz4ETbiyTHJ sC8rMJWUJiYZgT3eob0ObB5Bkhh2TAIQCk7MIf3zuA90CDimC1m52QlD3dCfi4LwgD1n dJUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z84XJBrbjjgB7h6MX2cW9/mDdKRwVfj1W8PqW92axJc=; b=OPeqoG7fL9mCRfOxUowS8JJAISKjj4eni0nKl9cAieAk+tOel2z9RHR5BKaF05v451 ytfkDD8gNTEWDTKhHW8cLOghj3SE266GUcaRU8wp05lKUPkiGAhTPv94moiTMurpZ8cq jvuqrscBrzPe3KbKmzcFYnAep9nnE2Tklyb092kYXlhdqLLyPxuBiw4rqEunjExlorKs sg90HKSw/Y5tKh6baFw+1jGgIT07sCvWTPI2f0oTnocWR6Sh1YLn9m2G51yb0PjFADAF RacmEnwh/Or29+e0e8n1A7PwdbCAsUvb1nHBIfKHy43onEZCePX8AfQ5b1tQ8u5vYDdy O6YQ== X-Gm-Message-State: AFqh2kr1El0ZtPiHP+HGVgLOGhz5AwQP01KfEFSA63CvLZYDD5ij0oMQ BXvFYNCVlZoBskJXIYb4ACM= X-Received: by 2002:aca:1b09:0:b0:35e:18a6:cf70 with SMTP id b9-20020aca1b09000000b0035e18a6cf70mr15664574oib.50.1672325329908; Thu, 29 Dec 2022 06:48:49 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id d125-20020acab483000000b0035a921f2093sm8120587oif.20.2022.12.29.06.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Dec 2022 06:48:49 -0800 (PST) Sender: Guenter Roeck Date: Thu, 29 Dec 2022 06:48:48 -0800 From: Guenter Roeck To: Yang Li Cc: jdelvare@suse.com, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH -next] hwmon: Fix some kernel-doc comments Message-ID: <20221229144848.GA21999@roeck-us.net> References: <20221223081056.88345-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221223081056.88345-1-yang.lee@linux.alibaba.com> X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Fri, Dec 23, 2022 at 04:10:56PM +0800, Yang Li wrote: > Make the description of @aht10_data to @data in aht10_read_values() > and remove @client in aht10_init() to clear the below warnings: > > drivers/hwmon/aht10.c:87: warning: Excess function parameter 'client' description in 'aht10_init' > drivers/hwmon/aht10.c:131: warning: Function parameter or member 'data' not described in 'aht10_read_values' > drivers/hwmon/aht10.c:131: warning: Excess function parameter 'aht10_data' description in 'aht10_read_values' > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3543 > Reported-by: Abaci Robot > Signed-off-by: Yang Li This onlyt affects a single driver, which should be mentioned in the subject. No need to resend - I'll fix it up - but please keep it in mind for future patches. Applied to hwmon-next. Thanks, Guenter > --- > drivers/hwmon/aht10.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/hwmon/aht10.c b/drivers/hwmon/aht10.c > index d76f3441ecf1..9babd69d54a3 100644 > --- a/drivers/hwmon/aht10.c > +++ b/drivers/hwmon/aht10.c > @@ -79,7 +79,6 @@ struct aht10_data { > > /** > * aht10_init() - Initialize an AHT10 chip > - * @client: the i2c client associated with the AHT10 > * @data: the data associated with this AHT10 chip > * Return: 0 if succesfull, 1 if not > */ > @@ -124,7 +123,7 @@ static int aht10_polltime_expired(struct aht10_data *data) > > /** > * aht10_read_values() - read and parse the raw data from the AHT10 > - * @aht10_data: the struct aht10_data to use for the lock > + * @data: the struct aht10_data to use for the lock > * Return: 0 if succesfull, 1 if not > */ > static int aht10_read_values(struct aht10_data *data)