On Thu, Jun 24, 2021 at 10:50:59AM +0100, Sudeep Holla wrote:
The bus probe callback calls the driver callback without further
checking. Better be safe than sorry and refuse registration of a driver
without a probe function to prevent a NULL pointer exception.
Fixes: 933c504424a2 ("firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices")
Reported-by: Uwe Kleine-König <redacted>
Signed-off-by: Sudeep Holla <redacted>
Acked-by: Uwe Kleine-König <redacted>
Thanks to pick my "suggestion" up also for scmi.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | https://www.pengutronix.de/ |