lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <DFCADAUEQ81L.MTQZKYR0C33S@bootlin.com>
Date: Wed, 31 Dec 2025 10:14:59 +0100
From: "Luca Ceresoli" <luca.ceresoli@...tlin.com>
To: Uwe Kleine-König <u.kleine-koenig@...libre.com>, "Akhil
 R" <akhilrajeev@...dia.com>, "Herbert Xu" <herbert@...dor.apana.org.au>,
 "David S. Miller" <davem@...emloft.net>, "Thierry Reding"
 <thierry.reding@...il.com>, "Jonathan Hunter" <jonathanh@...dia.com>,
 "Mikko Perttunen" <mperttunen@...dia.com>, "David Airlie"
 <airlied@...il.com>, "Simona Vetter" <simona@...ll.ch>, "Sowjanya
 Komatineni" <skomatineni@...dia.com>, "Mauro Carvalho Chehab"
 <mchehab@...nel.org>, "Greg Kroah-Hartman" <gregkh@...uxfoundation.org>
Cc: <linux-crypto@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
 <linux-kernel@...r.kernel.org>, <dri-devel@...ts.freedesktop.org>,
 <linux-media@...r.kernel.org>, <linux-staging@...ts.linux.dev>
Subject: Re: [PATCH 2/2] host1x: Convert to bus methods

On Wed Dec 10, 2025 at 9:31 AM CET, Uwe Kleine-König wrote:
> The callbacks .probe(), .remove() and .shutdown() for device_drivers
> should go away. So migrate to bus methods. There are two differences
> that need addressing:
>
>  - The bus remove callback returns void while the driver remove callback
>    returns int (the actual value is ignored by the core).
>  - The bus shutdown callback is also called for unbound devices, so an
>    additional check for dev->driver != NULL is needed.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...libre.com>

Tested-by: Luca Ceresoli <luca.ceresoli@...tlin.com> # tegra20 tegra-video
Reviewed-by: Luca Ceresoli <luca.ceresoli@...tlin.com>

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ