Thread (91 messages) 91 messages, 8 authors, 2023-08-08

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

From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-08-01 09:34:23
Also in: alsa-devel, linux-arm-kernel, linux-devicetree, linux-gpio, linuxppc-dev, lkml

+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.

     Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help