[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZBPz6Ads0dOT8ceT@ninjato>
Date: Fri, 17 Mar 2023 06:00:24 +0100
From: Wolfram Sang <wsa+renesas@...g-engineering.com>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
Florian Fainelli <f.fainelli@...il.com>,
Steve Glendinning <steve.glendinning@...well.net>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] Revert "net: smsc911x: Make Runtime PM handling more
fine-grained"
Hi Geert,
> In sh_eth this was fixed differently, by adding a check for
> mdp->is_opened to sh_eth_get_stats() [1].
> I believe the modern way would be to add a check for netif_running()
> instead.
>
> Would adding such a check to smsc911x_get_stats() work for you, too?
Yeah, that worked. Thank you! I'll send v2 soon.
Happy hacking,
Wolfram
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists