[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240416164113.3ada12c7@kernel.org>
Date: Tue, 16 Apr 2024 16:41:13 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Lukas Wunner <lukas@...ner.de>
Cc: Heiner Kallweit <hkallweit1@...il.com>, Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>, David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH net] r8169: fix LED-related deadlock on module removal
On Mon, 15 Apr 2024 10:49:11 +0200 Lukas Wunner wrote:
> > struct rtl8169_private;
> > +struct r8169_led_classdev;
>
> Normally these forward declarations are not needed if you're just
> referencing the struct name in a pointer. Usage of the struct name
> in a pointer implies a forward declaration.
Unless something changed recently that only works for struct members,
function args need an explicit forward declaration.
Powered by blists - more mailing lists