Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1899181rwi; Thu, 3 Nov 2022 10:15:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5UQs75P746qY6h9h1DqfyQ6SJtrKqJQodE24iqysfebziT3g9UsGG92c1RdylJnWChuzvv X-Received: by 2002:a17:906:8475:b0:7ad:c04:d3cf with SMTP id hx21-20020a170906847500b007ad0c04d3cfmr29202274ejc.463.1667495734005; Thu, 03 Nov 2022 10:15:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667495734; cv=none; d=google.com; s=arc-20160816; b=U+YTZOZTseCwy+GEzP1LQqkZ0FcTliye25EPHPJtr79FrEpjTYEPtwxT/MDR1ld10N byYbJ6znyxZrMTDDIZg6H2CozaOXJXEv44jjy3Xvg8dxEB6CazI+Txvs8NlkZa6WjbWk a9OilYE/b6L0xErHKXRWnMCfQ4srHgLN9ZQkJuDgLVncFOrr1dYAvIdMwhcrS83YThjL 7sM2QFVuMN46ZfE9onUvXeJRqpuCmF6wz3CHEvTLia6MsyO6w4EpKojkDAd0CLVXOlEa HMmjUpGlXAvL05zxYPOoNzMzBvyZQPm2bSeyb0AISUi6zh+N+qsTTpQdrsn0MaFfYcUP lMGQ== 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:dkim-signature:dkim-signature; bh=X3iAPKntN8bwEwSZKuEYeP/9JRqwBa3SZbFPVF6pxVM=; b=rxzyLdyluDY4mKfFWWTz9hnW/jYlsvQ8K28zwrQS2HmpUXYfBGX67Fk9swUNHchVuE TPcg/s4vwJnl9xNtxxz2ez0WjYTyRMf0jTgkROw3llCqOhizxLDPVWqA2rpFYgs0abBW XZWsHFl6+7irR/I95Uj1BIb1/Y0PROmUWfgxmpndkUbaltZJhDPKOBxkKR8EGKADygJd 3SP4fBBBVgwo/LlHOS7dxPvzlORTCWc4/vEptF0HF9/Ucz1YVpeB/FY4Zle78rNhTAWt Y7SehvocxmUiJP5RA1F9ACITtMJmh4GpVh1+QfIV5TBLQszMiH9+UGOztNc68xkq2ECB 8gyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=vR9OkHI9; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=Pcpy6hkq; 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 i15-20020a1709064fcf00b0078df19995e4si2211571ejw.241.2022.11.03.10.15.09; Thu, 03 Nov 2022 10:15:33 -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=@suse.cz header.s=susede2_rsa header.b=vR9OkHI9; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=Pcpy6hkq; 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 S232026AbiKCRM2 (ORCPT + 98 others); Thu, 3 Nov 2022 13:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231411AbiKCRLe (ORCPT ); Thu, 3 Nov 2022 13:11:34 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99FFE1A23B; Thu, 3 Nov 2022 10:11:06 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 515BE21C4A; Thu, 3 Nov 2022 17:11:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1667495465; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X3iAPKntN8bwEwSZKuEYeP/9JRqwBa3SZbFPVF6pxVM=; b=vR9OkHI9NPjlluxOknVMsYrw7uh/arpCvfU0ytSr/PsFpF6U/ETxnLg2UHflMUAuADAW+I ycrlTizsIHpIQIZbievRSrhD34q0EctoUFu5NpadeIwhQQlWXYkzGVEn8eSA83aQU5UoBa 9hUN13smcE8Sdloq56qPpTViFXOWxkQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1667495465; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=X3iAPKntN8bwEwSZKuEYeP/9JRqwBa3SZbFPVF6pxVM=; b=Pcpy6hkqntziw2oZvSI3CC7+3FS6jLwCGOqP6YiDvIvCa/balcuTqKiSIXCBTzid2FRHHE eNtlYnCDW03B35DQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2580A13AAF; Thu, 3 Nov 2022 17:11:05 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VFWXCCn2Y2PvWQAAMHmgww (envelope-from ); Thu, 03 Nov 2022 17:11:05 +0000 Message-ID: Date: Thu, 3 Nov 2022 18:11:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH] mm/slab_common: repair kernel-doc for __ksize() Content-Language: en-US To: Lukas Bulwahn , Kees Cook , linux-mm@kvack.org Cc: Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Roman Gushchin , Hyeonggon Yoo <42.hyeyoo@gmail.com>, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20221031092920.976-1-lukas.bulwahn@gmail.com> From: Vlastimil Babka In-Reply-To: <20221031092920.976-1-lukas.bulwahn@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_SOFTFAIL 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 10/31/22 10:29, 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 Thanks! Adding to slab/for-6.1-rc4/fixes Vlastimil > --- > 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) > {