# 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 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/08/2286964
- Thread: https://ratatoskr.run/netdev/2023/07/2280248/t.md

```text
On Tue, 1 Aug 2023 11:31:32 +0200
Andrew Lunn [ref] 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é
```
