[PATCH v3 05/25] net/spnic: add mgmt module
Yanling Song
songyl at ramaxel.com
Wed Dec 29 11:26:09 CET 2021
On Tue, 28 Dec 2021 07:59:18 -0800
Stephen Hemminger <stephen at networkplumber.org> wrote:
> 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.
Ok. The change will be included in V5 since V4 was pushed already.
More information about the dev
mailing list