Thread (32 messages) 32 messages, 2 authors, 2021-12-29

Re: [PATCH v3 05/25] net/spnic: add mgmt module

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-12-28 15:59:23

On Fri, 24 Dec 2021 16:32:23 +0800
Yanling Song [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help