Re: [PATCH v6 26/26] net/spnic: fixes unsafe C style code

2022-01-21 Thread Yanling Song
On Wed, 19 Jan 2022 17:28:11 + Ferruh Yigit wrote: > On 12/30/2021 6:09 AM, Yanling Song wrote: > > Use the hardware structure instead of void* as parameter of > > function to keep the type information > > Hi Yanling, > > This is a new driver and first patchset for it. Instead of fixing i

Re: [PATCH v6 26/26] net/spnic: fixes unsafe C style code

2022-01-19 Thread Ferruh Yigit
On 12/30/2021 6:09 AM, Yanling Song wrote: Use the hardware structure instead of void* as parameter of function to keep the type information Hi Yanling, This is a new driver and first patchset for it. Instead of fixing it in the set, why not update old patches to introduce them correct at firs

[PATCH v6 26/26] net/spnic: fixes unsafe C style code

2021-12-29 Thread Yanling Song
Use the hardware structure instead of void* as parameter of function to keep the type information Signed-off-by: Yanling Song --- drivers/net/spnic/base/spnic_cmdq.c | 14 +-- drivers/net/spnic/base/spnic_cmdq.h | 6 +- drivers/net/spnic/base/spnic_hw_cfg.c| 49 -- driv