Thread (8 messages) 8 messages, 4 authors, 2026-01-17

Re: [PATCH v2 2/8] scsi: Make use of bus callbacks

From: Peter Wang (王信友) <peter.wang@mediatek.com>
Date: 2025-12-22 08:28:47
Also in: linux-mediatek, linux-scsi

On Fri, 2025-12-19 at 10:25 +0100, Uwe Kleine-König wrote:
Introduce a bus specific probe, remove and shutdown function. For now
this only allows to get rid of a cast of the generic device to an
scsi
device in the drivers and changes the remove prototype to return
void---a non-zero return value is ignored anyhow.

The objective is to get rid of users of struct device_driver
callbacks
.probe(), .remove() and .shutdown() to eventually remove these. Until
all scsi drivers are converted this results in a runtime warning
about
the drivers needing an update because there is a bus probe function
and
a driver probe function. The in-tree drivers are fixed by the
following
commits.

Signed-off-by: Uwe Kleine-König <redacted>
Reviewed-by: Peter Wang <peter.wang@mediatek.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help