[PATCH net-next v6 03/10] net: create a dummy net_device allocator

Jakub Kicinski kuba at kernel.org
Fri Apr 12 19:16:26 PDT 2024


On Thu, 11 Apr 2024 06:59:27 -0700 Breno Leitao wrote:
> +/**
> + * alloc_netdev_dummy - Allocate and initialize a dummy net device.
> + * @sizeof_priv: size of private data to allocate space for
> + */
> +struct net_device *alloc_netdev_dummy(int sizeof_priv)

Sorry, one more round :)

We started using -Wall for kdoc (./scripts/kernel-doc -Wall $files)
recently and it now complains about missing return values...



More information about the linux-arm-kernel mailing list