[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z2fZoGCf6WGUunGI@egonzo>
Date: Sun, 22 Dec 2024 10:19:28 +0100
From: Dave Penkler <dpenkler@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Antonio Riccio <linux@...ccio.me>, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: gpib: Rename variable ValidAll
On Sun, Dec 22, 2024 at 07:11:40AM +0100, Greg Kroah-Hartman wrote:
> On Sat, Dec 21, 2024 at 08:01:23PM +0000, Antonio Riccio wrote:
> > --- a/drivers/staging/gpib/uapi/gpib_user.h
> > +++ b/drivers/staging/gpib/uapi/gpib_user.h
> > @@ -114,7 +114,7 @@ enum bus_control_line {
> > ValidSRQ = 0x20,
> > ValidATN = 0x40,
> > ValidEOI = 0x80,
> > - ValidALL = 0xff,
> > + VALIDALL = 0xff,
>
> Why are you only changing one of these? And are you sure that these
> values aren't coming from a specification with this type of naming?
>
> thanks,
>
> greg k-h
I prefer that we keep the camel case definitions in the uapi includes
as they are for now so that they remain compatible with the current
user space includes. Over time I will release a version of the user
space includes that provide compatability definitions for the
checkpatch clean version of the uapi includes. This includes the camel
case definitions and the typedefs. I will submit a patches for this in
the new year.
-dave
Powered by blists - more mailing lists