# Re: \[PATCH 2/2\] firmware: arm\_scmi: Ensure drivers provide a probe function

- From: Uwe Kleine-König \<hidden\>
- Date: 2021-06-24 19:56:11 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2021/06/8808905
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/06/8808884/t.md

```text
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/ |
```
