j
k
j a
j l
+static inline struct qmc_hdlc *netdev_to_qmc_hdlc(struct net_device *netdev) +{ return (struct qmc_hdlc *)dev_to_hdlc(netdev)->priv;
+static inline struct qmc_hdlc *netdev_to_qmc_hdlc(struct net_device *netdev) +{
priv is a void *, so you don't need the cast.
Andrew
Back to the thread
Back to the list