Thread (2 messages) flat view 2 messages, 2 authors, 2023-08-01

Re: [PATCH v2 06/28] net: wan: Add support for QMC HDLC

From: Herve Codina <herve.codina@bootlin.com>
Date: 2023-08-01 10:07:43
Also in: alsa-devel, linux-devicetree, linux-gpio, linuxppc-dev, lkml, netdev

On Tue, 1 Aug 2023 11:31:32 +0200
Andrew Lunn [off-list ref] wrote:
quoted
+static inline struct qmc_hdlc *netdev_to_qmc_hdlc(struct net_device *netdev)
+{
+	return (struct qmc_hdlc *)dev_to_hdlc(netdev)->priv;  
priv is a void *, so you don't need the cast.
Right, I will change in the next iteration.

Regards,
Hervé

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help