[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5f896919-6397-4806-ab1a-946c4d20a1b3@amd.com>
Date: Wed, 9 Apr 2025 10:25:39 -0700
From: "Nelson, Shannon" <shannon.nelson@....com>
To: Jakub Kicinski <kuba@...nel.org>,
"Jagielski, Jedrzej" <jedrzej.jagielski@...el.com>
Cc: "Nguyen, Anthony L" <anthony.l.nguyen@...el.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"pabeni@...hat.com" <pabeni@...hat.com>, "Dumazet, Eric"
<edumazet@...gle.com>, "andrew+netdev@...n.ch" <andrew+netdev@...n.ch>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Kitszel, Przemyslaw" <przemyslaw.kitszel@...el.com>,
"jiri@...nulli.us" <jiri@...nulli.us>, "horms@...nel.org"
<horms@...nel.org>, "corbet@....net" <corbet@....net>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
Kalesh AP <kalesh-anakkur.purayil@...adcom.com>,
"R, Bharath" <bharath.r@...el.com>
Subject: Re: [PATCH net-next 01/15] devlink: add value check to
devlink_info_version_put()
On 4/9/2025 7:39 AM, Jakub Kicinski wrote:
>
> On Wed, 9 Apr 2025 14:14:23 +0000 Jagielski, Jedrzej wrote:
>> No insisting on that but should empty entry be really presented to the user?
>> Especially unintentionally? Actually it's exposing some driver's shortcomings.
>> That means the output was not properly validated so imho there's no point in
>> printing it.
>
> +1, FWIW, I don't see the point of outputting keys without values.
Because I like to see hints that something might be wrong, rather than
hiding them.
sln
Powered by blists - more mailing lists