Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp236643rwb; Thu, 18 Aug 2022 03:00:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR44Y3Tp4JUHzQ+ZS4D8PKc7xzeRVOzhsJjfoKuxsHz20a3Ucd73BmQMS9Lfeyr28+a5K0A+ X-Received: by 2002:a17:907:1c87:b0:6f0:29ea:cc01 with SMTP id nb7-20020a1709071c8700b006f029eacc01mr1412508ejc.671.1660816810590; Thu, 18 Aug 2022 03:00:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660816810; cv=none; d=google.com; s=arc-20160816; b=D4bIW7Yu+i8ZmnMfWViq4XGp/2Mj+42rbMAtqW0snxl+ziyK14gIivAPlIHZ5hq8uT K6ggjnSeiZbxMobEaK9DpdLsvTe5vUWLiZvQLv5i7W9izakVIJjQuwRYx8f2+6tLfbhj nTafUwhRDiL5+uqapLfkSHVTG41ID6mV7/EKDd2qGFZCgtQZvjTrEI5zuazU3UkWxm7T 4SyPdJqQ0JbCTkAt2NQc0c7TcNa6vfs2YubycmCxz0bA/GoL6Peh1bU5ZgMT84zy0RC5 oBysKYc4JWolEzXuv9iDQ6UBmpjiZqyqQQ2YeytpJbT3APh9YZNkKjdDDErexcpWtvTu 7fbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ygxV6HiCkHDDDr+nwXQCoCHdH2pOOxw8h7CA0/qlV9I=; b=QURl9+zwU5jiP3SYBGNpw6pGa/vlLOkLnjiKnemD4TX3NBi2EgwQNPEbQWtI8TlOrQ oUfJDX3Akgr6BwsajIw8KU0XDALPhGoMHEE399PipAq6v8F8HVCzf9qp4a9/yKv4AnRn gQs/870MznjytDYphNDLxapFV6GQEQeTr50xV/Z1U7vcZHsghTdEbEDN4bYomeJwbNnx KIceBAoxh0X85OVXJwcLUZxnsU8LVTxGJYZz25YGmq0IgzZ+VXEq1MGx5I687tXmLG8k 2kmM/oN71AvO4AS5QglflVz0lk6LhVvoa278h0WRQtu7PlOPrUYJbQho19COc2Nqju84 57aw== 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 g10-20020a056402428a00b0043d127622b2si875609edc.157.2022.08.18.02.59.44; Thu, 18 Aug 2022 03:00: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 S241660AbiHRJcQ (ORCPT + 99 others); Thu, 18 Aug 2022 05:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233816AbiHRJcO (ORCPT ); Thu, 18 Aug 2022 05:32:14 -0400 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13E509A954 for ; Thu, 18 Aug 2022 02:32:12 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0VMaE0Lu_1660815129; Received: from 30.227.66.106(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0VMaE0Lu_1660815129) by smtp.aliyun-inc.com; Thu, 18 Aug 2022 17:32:10 +0800 Message-ID: <16a13735-1349-9927-0f7b-1c5622198e2a@linux.alibaba.com> Date: Thu, 18 Aug 2022 17:32:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [Linux-cachefs] [PATCH v2] fscache: fix misdocumented parameter Content-Language: en-US To: Khalid Masum , linux-cachefs@redhat.com, linux-kernel@vger.kernel.org Cc: Randy Dunlap References: <20220818040738.12036-1-khalid.masum.92@gmail.com> From: JeffleXu In-Reply-To: <20220818040738.12036-1-khalid.masum.92@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,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 On 8/18/22 12:07 PM, Khalid Masum wrote: > This patch fixes two warnings generated by make docs. The functions > fscache_use_cookie and fscache_unuse_cookie, both have a parameter > named cookie. But they are documented with the name "object" with > unclear description. Which generates the warning when creating docs. > > This commit will replace the currently misdocumented parameter names > with the correct ones while adding proper descriptions. > > CC: Randy Dunlap > Signed-off-by: Khalid Masum LGTM. Reviewed-by: Jingbo Xu > --- > Changes since v1: > - Update commit message. > - Link: https://lore.kernel.org/lkml/20220521142446.4746-1-khalid.masum.92@gmail.com/ > > include/linux/fscache.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/linux/fscache.h b/include/linux/fscache.h > index 720874e6ee94..36e5dd84cf59 100644 > --- a/include/linux/fscache.h > +++ b/include/linux/fscache.h > @@ -258,7 +258,7 @@ struct fscache_cookie *fscache_acquire_cookie(struct fscache_volume *volume, > > /** > * fscache_use_cookie - Request usage of cookie attached to an object > - * @object: Object description > + * @cookie: The cookie representing the cache object > * @will_modify: If cache is expected to be modified locally > * > * Request usage of the cookie attached to an object. The caller should tell > @@ -274,7 +274,7 @@ static inline void fscache_use_cookie(struct fscache_cookie *cookie, > > /** > * fscache_unuse_cookie - Cease usage of cookie attached to an object > - * @object: Object description > + * @cookie: The cookie representing the cache object > * @aux_data: Updated auxiliary data (or NULL) > * @object_size: Revised size of the object (or NULL) > * -- Thanks, Jingbo