Re: [PATCH 4/4] Staging: rtl8192u: r819xU_firmware: added space after comma
From: Tolga Ceylan
Date: Fri Feb 20 2015 - 14:47:48 EST
On Thu, Feb 19, 2015 at 11:30 PM, Joe Perches <joe@xxxxxxxxxxx> wrote:
>
> Might as well remove the unnecessary cast too:
>
> memcpy(skb->cb, &dev, sizeof(dev));
>
> but it might be better to avoid the memcpy and use an assign
>
> *(struct net_device *)skb->cb = dev;
>
I'll submit another patch for the memcpy change.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/