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

Herve Codina herve.codina at bootlin.com
Tue Aug 1 03:07:30 PDT 2023


On Tue, 1 Aug 2023 11:31:32 +0200
Andrew Lunn <andrew at lunn.ch> wrote:

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



More information about the linux-arm-kernel mailing list