From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 64DB23FCB3D; Fri, 17 Jul 2026 13:07:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784293662; cv=none; b=ItK5eK7PsTuq+gc39ehBMpgBOPZW9SnL/nrBtjNzYRh6AmOHuaw4xG4bqpXIQmLIqFfDnAkL/EBh43RROeCPJXty+XIFAE+x8c0J9EFE6mKpUOjeyO+XhPzSQYqf/v8hkEX89INdNFtRAXQ01eEP7iIrBsMUnZQaPW6NTeRsBQM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784293662; c=relaxed/simple; bh=FK9yzES7VKd8Fftfk4CsEOxnZ30CVLaBrqab0FLOFgg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VKiIr3DnyIFDeKR4oLByAMBG4EZkiUYCXkWqq9xKucPB4HW5dvmW1MTaiTueQnnG3Vqji6i7sQV1JEekxC04FRfZyvKREbpZw618g8ejbQPinQ0IctWqGRkjDlfLmQvdHMYAQ3G8Phyfa4S3KoIqLrvUcOFr1hdyKpOIxuSf7AA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1UFaKp3K; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1UFaKp3K" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 129A51F000E9; Fri, 17 Jul 2026 13:07:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784293659; bh=mooRlPTlUqV1sVp6NuD8rb2bN7qHo0BLIrW5P+Xgh9E=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=1UFaKp3K1wugDE8JEb8ay0NtdC9vP4PtHFh0AE/O8qOH85sTTFovb+4ptE2qqLA0p L4c55q22J1kNNNzoHIBXMQiC9DTw6EM1SFK4DPR4NthzUte3gFETh0B4SOaNuMbcdW KYq2ylYlMHrAxWiMgrUYrCR/9mRDvjrWdvPQFyKo= Date: Fri, 17 Jul 2026 15:07:32 +0200 From: Greg Kroah-Hartman To: Alvin Sun Cc: Miguel Ojeda , Boqun Feng , Gary Guo , =?iso-8859-1?Q?Bj=F6rn?= Roy Baron , Benno Lossin , Andreas Hindborg , Alice Ryhl , Trevor Gross , Danilo Krummrich , Luis Chamberlain , Petr Pavlu , Daniel Gomez , Sami Tolvanen , Aaron Tomlin , "Rafael J. Wysocki" , David Airlie , Simona Vetter , Daniel Almeida , Arnd Bergmann , Brendan Higgins , David Gow , Rae Moar , Breno Leitao , Jens Axboe , Dave Ertman , Leon Romanovsky , Igor Korotin , FUJITA Tomonori , Bjorn Helgaas , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Arve =?iso-8859-1?B?SGr4bm5lduVn?= , Todd Kjos , Christian Brauner , Carlos Llamas , rust-for-linux@vger.kernel.org, linux-modules@vger.kernel.org, driver-core@lists.linux.dev, dri-devel@lists.freedesktop.org, nova-gpu@lists.linux.dev, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-pci@vger.kernel.org Subject: Re: [PATCH v8 06/10] rust: miscdevice: set fops.owner from driver module pointer Message-ID: <2026071725-unpiloted-bogus-f1de@gregkh> References: <20260713-fix-fops-owner-v8-0-2495cfa82d47@linux.dev> <20260713-fix-fops-owner-v8-6-2495cfa82d47@linux.dev> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260713-fix-fops-owner-v8-6-2495cfa82d47@linux.dev> On Mon, Jul 13, 2026 at 02:45:27PM +0800, Alvin Sun wrote: > Set the miscdevice fops owner field from the driver module pointer > via the `this_module::()` helper, instead of > defaulting to null. > > Assisted-by: opencode:glm-5.2 > Reviewed-by: Andreas Hindborg > Reviewed-by: Gary Guo > Acked-by: Danilo Krummrich > Signed-off-by: Alvin Sun > --- > rust/kernel/miscdevice.rs | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Acked-by: Greg Kroah-Hartman