# Re: \[PATCH net-next v2 03/10\] wwan: core: require WWAN netdev setup callback existence

- From: Loic Poulain \<hidden\>
- Date: 2021-06-22 13:39:08 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/06/11206042
- Thread: https://ratatoskr.run/netdev/2021/06/11205968/t.md

```text
On Tue, 22 Jun 2021 at 00:51, Sergey Ryazanov [ref] wrote:
>
> The setup callback will be unconditionally passed to the
> alloc_netdev_mqs(), where the NULL pointer dereference will cause the
> kernel panic. So refuse to register WWAN netdev ops with warning
> generation if the setup callback is not provided.
>
> Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

Reviewed-by: Loic Poulain <redacted>
```
