lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 20 Feb 2023 13:29:31 +0200
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Orlando Chamberlain <orlandoch.dev@...il.com>
Cc:     linux-doc@...r.kernel.org, linux-input@...r.kernel.org,
        Jonathan Corbet <corbet@....net>,
        Jiri Kosina <jikos@...nel.org>,
        Benjamin Tissoires <benjamin.tissoires@...hat.com>,
        linux-kernel@...r.kernel.org, Pavel Machek <pavel@....cz>,
        Aditya Garg <gargaditya08@...e.com>,
        Aun-Ali Zaidi <admin@...eit.net>,
        Kerem Karabay <kekrby@...il.com>,
        Thomas Weißschuh <thomas@...ch.de>,
        Thomas Weißschuh <linux@...ssschuh.net>
Subject: Re: [PATCH v4 2/2] HID: hid-apple-magic-backlight: Add driver for
 keyboard backlight on internal Magic Keyboards

On Mon, Feb 20, 2023 at 06:09:32PM +1100, Orlando Chamberlain wrote:
> On Sun, 19 Feb 2023 16:09:26 +0200
> Andy Shevchenko <andy.shevchenko@...il.com> wrote:
> > On Sat, Feb 18, 2023 at 11:08 AM Orlando Chamberlain
> > <orlandoch.dev@...il.com> wrote:

...

> > > +       help
> > > +       Say Y here if you want support for the keyboard backlight
> > > on Macs with
> > > +       the magic keyboard (MacBookPro16,x and MacBookAir9,1). Note
> > > that this
> > > +       driver is not for external magic keyboards.
> > > +
> > > +       To compile this driver as a module, choose M here: the
> > > +       module will be called hid-apple-magic-backlight.  
> > 
> > Is it my email client or is the indentation of the help text
> > incorrect?
> > 
> > Hint: the text of the help should be <TAB><SPACE><SPACE> indented.
> > 
> > I believe checkpatch.pl at least in --strict mode should complain
> > about this.
> 
> Looking at the hid Kconfig, it seems like some have it as you've
> described, and some just have tab (and a few have just tab for the
> first line, and tab space space for the rest of the lines).

Okay, I have checked in the other MUA I'm using for patch reviews and indeed
your Kconfig indentation is broken.

> checkpatch.pl --strict didn't complain about the indentation so
> hopefully it's alright as is.

No, it's not. Must be fixed.

https://www.kernel.org/doc/html/latest/process/coding-style.html#kconfig-configuration-files

-- 
With Best Regards,
Andy Shevchenko


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ