From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C4E84C0218A for ; Thu, 30 Jan 2025 08:37:03 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3B9B110E28F; Thu, 30 Jan 2025 08:37:03 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="R5GKG3cS"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7F3D810E28F; Thu, 30 Jan 2025 08:37:01 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 924D55C5E09; Thu, 30 Jan 2025 08:36:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEBEBC4CED3; Thu, 30 Jan 2025 08:36:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1738226220; bh=SkT743wa/olFo78wLQvP9MMQ9915yalZCxfpq9WEduE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=R5GKG3cSAdtF2he/RoyxVZjgEGSKd0fIkGDekgyoz2kCYeDpJLW8W2kUj+IQQQF2s y19oxuR7+5DIj6vPlenP6ENXYgUpYnk8T+peoAa8/IkSZkAK+1JNF65Vl3SSDtcdcI m3r4Gkq2Y8RM72wRbeWTU9elUfqynkv+IFaGnCH4= Date: Thu, 30 Jan 2025 09:36:57 +0100 From: Greg Kroah-Hartman To: "Borah, Chaitanya Kumar" Cc: Al Viro , "intel-gfx@lists.freedesktop.org" , "intel-xe@lists.freedesktop.org" , "Kurmi, Suresh Kumar" , "Saarinen, Jani" , "linux-fsdevel@vger.kernel.org" , Alexander Gordeev Subject: Re: Regression on linux-next (next-20250120) Message-ID: <2025013052-refueling-ripping-2f6e@gregkh> References: <20250123181853.GC1977892@ZenIV> <20250127050416.GE1977892@ZenIV> <20250129043712.GQ1977892@ZenIV> <2025012939-mashing-carport-53bd@gregkh> <20250129191937.GR1977892@ZenIV> <2025013055-vowed-enjoyment-ce02@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" On Thu, Jan 30, 2025 at 08:08:30AM +0000, Borah, Chaitanya Kumar wrote: > > > > -----Original Message----- > > From: Greg Kroah-Hartman > > Sent: Thursday, January 30, 2025 12:55 PM > > To: Al Viro > > Cc: Borah, Chaitanya Kumar ; intel- > > gfx@lists.freedesktop.org; intel-xe@lists.freedesktop.org; Kurmi, Suresh > > Kumar ; Saarinen, Jani > > ; linux-fsdevel@vger.kernel.org; Alexander Gordeev > > > > Subject: Re: Regression on linux-next (next-20250120) > > > > On Wed, Jan 29, 2025 at 07:19:37PM +0000, Al Viro wrote: > > > On Wed, Jan 29, 2025 at 08:13:02AM +0100, Greg Kroah-Hartman wrote: > > > > > > > > Both are needed, actually. Slightly longer term I would rather > > > > > split full_proxy_{read,write,lseek}() into short and full variant, > > > > > getting rid of the "check which pointer is non-NULL" and killed > > > > > the two remaining users of debugfs_real_fops() outside of > > > > > fs/debugfs/file.c; then we could union these ->..._fops pointers, > > > > > but until then they need to be initialized. > > > > > > > > > > And yes, ->methods obviously needs to be initialized. > > > > > > > > > > Al, bloody embarrassed ;-/ > > > > > > > > No worries, want to send a patch to fix both of these up so we can > > > > fix up Linus's tree now? > > > > > > [PATCH] Fix the missing initializations in __debugfs_file_get() > > > > > > both method table pointers in debugfs_fsdata need to be initialized, > > > obviously, and calculating the bitmap of present methods would also go > > > better if we start with initialized state. > > > > > > Fixes: 41a0ecc0997c "debugfs: get rid of dynamically allocation proxy_ops" > > > Fucked-up-by: Al Viro > > > Signed-off-by: Al Viro > > > --- > > > > Thanks, now queued up. > > We can confirm that this change works. Wonderful, thanks!