[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <42e6c6ec01df0de6c1bf8b7610758d0f1ef8ae7c.camel@sipsolutions.net>
Date: Wed, 12 Jun 2024 12:14:38 +0200
From: Johannes Berg <johannes@...solutions.net>
To: quic_zijuhu <quic_zijuhu@...cinc.com>, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
emmanuel.grumbach@...el.com
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH v1 1/2] net: rfkill: Fix a wrongly handling error case
On Wed, 2024-06-12 at 18:12 +0800, quic_zijuhu wrote:
> On 6/12/2024 4:15 PM, Johannes Berg wrote:
> > >
> > > use pr_err() instead of WARN()
> > > for this error case handling.
> >
> > I don't see anything wrong with the WARN here, it's the user/driver
> > calling it completely incorrectly.
> >
> the function is a kernel API
Sure.
> and it is handing invalid user input.
No.
johannes
Powered by blists - more mailing lists