[PATCH v6 03/15] net/xsc: add xsc mailbox
    WanRenyong 
    wanry at yunsilicon.com
       
    Tue Jan 21 03:39:48 CET 2025
    
    
  
On 2025/1/21 2:18, Stephen Hemminger wrote:
> On Mon, 20 Jan 2025 19:14:37 +0800
> "WanRenyong" <wanry at yunsilicon.com> wrote:
>
>> +static void
>> +xsc_cmdq_mbox_free(struct xsc_dev *xdev, struct xsc_cmdq_mbox *mbox)
>> +{
>> +	struct xsc_cmdq_mbox *next, *head;
>> +	struct xsc_vfio_priv *priv = (struct xsc_vfio_priv *)xdev->dev_priv;
> Since dev_priv is void *, the cast here is unnecessary in C
OK, I'll fix it in the next version. Thanks for your review.
-- 
Best regards,
WanRenyong
    
    
More information about the dev
mailing list