[PATCH v3 05/25] net/spnic: add mgmt module
Stephen Hemminger
stephen at networkplumber.org
Tue Dec 28 16:59:18 CET 2021
On Fri, 24 Dec 2021 16:32:23 +0800
Yanling Song <songyl at ramaxel.com> wrote:
> +static void nic_event_handler(void *hwdev
This is one example of something this driver does a lot.
It casts away the hardware device structure to void * then reassigns it to the
the hardware structure. This is the classic type unsafe C style code.
If possible keep the type information.
More information about the dev
mailing list