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]
Message-ID: <CAHp75Vc=BtJh=cFuS_9A1nQz9QUsU-84pWByiAw2jPQvokqgwQ@mail.gmail.com>
Date:   Tue, 15 Sep 2020 13:15:50 +0300
From:   Andy Shevchenko <andy.shevchenko@...il.com>
To:     Kent Gibson <warthog618@...il.com>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        "open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
        Bartosz Golaszewski <bgolaszewski@...libre.com>,
        Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH v8 06/20] gpiolib: add build option for CDEV v1 ABI

On Wed, Sep 9, 2020 at 1:33 PM Kent Gibson <warthog618@...il.com> wrote:
>
> Add a build option to allow the removal of the CDEV v1 ABI.

Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>

One nit-pick below.

> Suggested-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
> Signed-off-by: Kent Gibson <warthog618@...il.com>
> ---
>
> This patch is before the v2 implementation, and is non-functional until
> that patch, as some parts of that patch would be written slightly
> differently if removing v1 was not considered.
> Adding this patch after that would necessitate revisiting the v2 changes,
> so this ordering results in two simpler patches.
>
>  drivers/gpio/Kconfig | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index e4debd66d71f..ff9ca836026b 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -82,6 +82,18 @@ config GPIO_CDEV
>
>           If unsure, say Y.
>
> +config GPIO_CDEV_V1
> +       bool "Support GPIO ABI Version 1"
> +       default y
> +       depends on GPIO_CDEV
> +       help
> +         Say Y here to support version 1 of the GPIO CDEV ABI.
> +

> +         This ABI version is deprecated and will be removed in the future.
> +         Please use the latest ABI for new developments.

"will be removed" is not what is going to happen in at least the next
few years. I think something less strong would be better.

> +
> +         If unsure, say Y.
> +
>  config GPIO_GENERIC
>         depends on HAS_IOMEM # Only for IOMEM drivers
>         tristate
> --
> 2.28.0
>


-- 
With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ