Re: [PATCH v2 1/3] i3c: master: replace ENOTSUPP with SUSV4-compliant EOPNOTSUPP

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

 



On Sat, Jun 28, 2025 at 12:12:35PM +0200, Wolfram Sang wrote:
> On Fri, Jun 27, 2025 at 04:46:37PM -0400, Frank Li wrote:
> > On Fri, Jun 27, 2025 at 01:17:56PM +0200, Wolfram Sang wrote:
> > > The checkpatch warning '"ENOTSUPP is not a SUSV4 error code, prefer
> > > EOPNOTSUPP"' is correct. We never want this to slip to userspace.
> >
> > what's means "We never want this to slip to userspace."?
> >
> > especial what's 'this' here?
>
> ENOTSUPP. If we were 100% sure to only use it it kernel space, we could
> keep using it. But since this is fragile because we never know about how
> error propagation will evolve, we chose to not use it.

I understand this. But the sentence "we never want this(ENOTSUPP) to slip to
userspace" literal means (I understand at least).

we don't expect to export it to userspace at all.

Actually your means "we don't know if it will skip to user space in future"

Frank


>
>
> --
> linux-i3c mailing list
> linux-i3c@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/linux-i3c




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux