Re: [PATCH net-next 01/15] devlink: add value check to devlink_info_version_put()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux