lkml.org 
[lkml]   [2023]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 06/28] net: wan: Add support for QMC HDLC
On Tue, 1 Aug 2023 11:31:32 +0200
Andrew Lunn <andrew@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é

\
 
 \ /
  Last update: 2023-08-01 12:07    [W:4.046 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site