Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp517110rwi; Mon, 31 Oct 2022 04:35:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7Q5OSkYjR+GbCB2QMRfLYhlL3KMo2dISHsAS8wsu+9FjpTDu9B49onlM5J2ySEoQiNBBNR X-Received: by 2002:a50:ec0a:0:b0:461:c0ca:a0bc with SMTP id g10-20020a50ec0a000000b00461c0caa0bcmr13167859edr.306.1667216127641; Mon, 31 Oct 2022 04:35:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667216127; cv=none; d=google.com; s=arc-20160816; b=yrqdc3NYTK60lS12GJLhSJ1w263BZzeDRKT3t/ccR/58wwe/Gvd2vTEmmw7jY5a6s4 WZUkyGNvPG3EJZUL8WxFeo5m1MPYqWv2xpmEq9AlozzaSfMx4tfHlEAk+ou2eYlrndlE 1ndanSQ9L4hPMU42+tuCvLDiDcKP6EWh/PYDKXcjisOifUy755eSlie17iJzR/XOKMUC d+aadWGjJRBa2jl9t0/lzExk5DY+C/C30f3n6y/uTDNHaH9ItjyVxorZR7SXvx0M8YWQ gxfLaPnLP+psNpx6riTsk6iZoKrYtqfdtvVXgc+3SdA/+ynldK1dB4OzcoPrOZS/O3IZ hklA== 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:dkim-signature; bh=4mWOQo3IJMa6w4l4DyN4HDxOpIlWrRJ/XZKR3C/nOGs=; b=nb+cXiyEu4EXs042hUnleOvjBa+wNbmDkhXxbc2msh1mCVzETsCEn1u6PHoNtkjsqA C0xX7rNYXcRqlWCXoQQ89dxgzHRnBRaHFu7BgrTV1U5e83PbtYMrp48jdUMBRUAuCo66 yxGtMyT5NMx7BvCU/CVTzuOjJ/Fyriv+nztCXTgu9j7NRwrVgrsZuUWU9Ijnht2VjB9H 52Iu+CIJE1vrrot4FjfXYT+oQHhI68hHZw1eHpmD7BvSQ53IO6IK8gFmmd0QzbDY//sn CXN3NMeF5ELSmH/5sJwf3DFeD+OH4/RoeN1UKbmMKyqhSS/GCZoBm+Nl5wQ1pzXbIp3V TiOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=lSn9Onz4; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020aa7c14b000000b00458cbb6b6easi7007193edp.167.2022.10.31.04.35.03; Mon, 31 Oct 2022 04:35:27 -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=@gmail.com header.s=20210112 header.b=lSn9Onz4; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230058AbiJaLK6 (ORCPT + 98 others); Mon, 31 Oct 2022 07:10:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229477AbiJaLK5 (ORCPT ); Mon, 31 Oct 2022 07:10:57 -0400 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDD87B847; Mon, 31 Oct 2022 04:10:55 -0700 (PDT) Received: by mail-pg1-x52e.google.com with SMTP id b62so22288pgc.0; Mon, 31 Oct 2022 04:10:55 -0700 (PDT) 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:from:to:cc:subject:date:message-id:reply-to; bh=4mWOQo3IJMa6w4l4DyN4HDxOpIlWrRJ/XZKR3C/nOGs=; b=lSn9Onz4PxN1cJWKkcid5fopQHGtPF7Xutp9xqdwSl58r0Hv/ReabwAK0DyQMaEvxP 9HbIo4HSlNM5p5zVgStKBUt1r6a9Hzni0hHIACHf4JczMhHixIFn/SeseOTMpR0u+iKs K6yqUKlsmfa5jGVGnymLJ5GcuYpl1KJ9zOvAp+0JxctY7t47W5tkX/i6XFrjS8THCxzK Ql/6Cqtj99XDesgAhgvb6/vShowJ16njwUndk8kwFxGrUmQRn513lmAmK+ir//078wLy hhDSPx08amePjr0bzM50X5Nk+5AuSyOI60N76pnIpHyas+RwY3tS8vVFZByZBNmND6YM LtZA== 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:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4mWOQo3IJMa6w4l4DyN4HDxOpIlWrRJ/XZKR3C/nOGs=; b=xIUjZGOcGP7HF0Zu9aJnFOyWy3m3e90VtXhlJzr79YKWuqlchsqBwcYo3zroiOvN1i KzpzA98PqEqCNl43cxNoLR7Pt811d9BR+3OmHneqDih2D0O/hKQB0RKISP7fjIlaWKp6 oH3YWaeyA2Uu4mspig+nAkF0cy5zGaIU+PGdwDSq4LvPhXpL7P4C8cYahBgoESyysoJj GjJl4RiBWo3ZTj5oYHoYuV5JnyeHUkRGgymB9rqWpWSu3NgUJbhBfg1SCHosF7lFCT7x +5DFOfQ0SfEU9d6zAKduGY0TWK7LgwoEEE1jUb9LMjwi2dmM/gAV2Lpi3x6YbndtyHct YbyQ== X-Gm-Message-State: ACrzQf2lcXWJvVFO6VYXnumd+JoCsiP3PRqQD7DKw3MMSzoFv5XxtCbH C9VcCbBjaaxNbLbIIYq2qQE0tqwnhoY= X-Received: by 2002:a05:6a00:2446:b0:528:5f22:5b6f with SMTP id d6-20020a056a00244600b005285f225b6fmr13893404pfj.73.1667214655397; Mon, 31 Oct 2022 04:10:55 -0700 (PDT) Received: from hyeyoo ([114.29.91.56]) by smtp.gmail.com with ESMTPSA id u16-20020a170902e5d000b001767f6f04efsm4234538plf.242.2022.10.31.04.10.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Oct 2022 04:10:54 -0700 (PDT) Date: Mon, 31 Oct 2022 20:10:48 +0900 From: Hyeonggon Yoo <42.hyeyoo@gmail.com> To: Lukas Bulwahn Cc: Vlastimil Babka , Kees Cook , linux-mm@kvack.org, Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Roman Gushchin , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/slab_common: repair kernel-doc for __ksize() Message-ID: References: <20221031092920.976-1-lukas.bulwahn@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221031092920.976-1-lukas.bulwahn@gmail.com> X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,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 Mon, Oct 31, 2022 at 10:29:20AM +0100, Lukas Bulwahn wrote: > Commit 445d41d7a7c1 ("Merge branch 'slab/for-6.1/kmalloc_size_roundup' into > slab/for-next") resolved a conflict of two concurrent changes to __ksize(). > > However, it did not adjust the kernel-doc comment of __ksize(), while the > name of the argument to __ksize() was renamed. > > Hence, ./scripts/ kernel-doc -none mm/slab_common.c warns about it. > > Adjust the kernel-doc comment for __ksize() for make W=1 happiness. > > Signed-off-by: Lukas Bulwahn > --- > mm/slab_common.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/mm/slab_common.c b/mm/slab_common.c > index 33b1886b06eb..74a991fd9d31 100644 > --- a/mm/slab_common.c > +++ b/mm/slab_common.c > @@ -1010,7 +1010,7 @@ EXPORT_SYMBOL(kfree); > > /** > * __ksize -- Report full size of underlying allocation > - * @objp: pointer to the object > + * @object: pointer to the object > * > * This should only be used internally to query the true size of allocations. > * It is not meant to be a way to discover the usable size of an allocation > @@ -1018,7 +1018,7 @@ EXPORT_SYMBOL(kfree); > * the originally requested allocation size may trigger KASAN, UBSAN_BOUNDS, > * and/or FORTIFY_SOURCE. > * > - * Return: size of the actual memory used by @objp in bytes > + * Return: size of the actual memory used by @object in bytes > */ > size_t __ksize(const void *object) > { > -- > 2.17.1 Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Thanks! -- Thanks, Hyeonggon