On 2025/1/21 2:18, Stephen Hemminger wrote: > On Mon, 20 Jan 2025 19:14:37 +0800 > "WanRenyong" <wa...@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