[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75Ve5PYQTRdxcffdQvYWJ-iwvfEHfMnL-vhs_mv7yg+GJ5Q@mail.gmail.com>
Date: Thu, 18 Jan 2024 01:24:11 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Hugo Villeneuve <hugo@...ovil.com>
Cc: gregkh@...uxfoundation.org, jirislaby@...nel.org,
cosmin.tanislav@...log.com, shc_work@...l.ru, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org, Hugo Villeneuve <hvilleneuve@...onoff.com>
Subject: Re: [PATCH 15/18] serial: max310x: replace ENOTSUPP with preferred
EOPNOTSUPP (checkpatch)
On Thu, Jan 18, 2024 at 12:39 AM Hugo Villeneuve <hugo@...ovil.com> wrote:
>
> From: Hugo Villeneuve <hvilleneuve@...onoff.com>
>
> Fixes the following checkpatch warning:
>
> WARNING: ENOTSUPP is not a SUSV4 error code, prefer EOPNOTSUPP
NAK.
It's a false positive.
> According to include/linux/errno.h, ENOTSUPP is
> "Defined for the NFSv3 protocol", so replace it with preferred EOPNOTSUPP.
The GPIO subsystem uses this internal error code internally. User
space won't get it, so users may not see this one.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists