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] [day] [month] [year] [list]
Message-ID: <CAPDyKFp3njgxgt0p2vFueC+6c4UDsaCfF9udXyRb-Juz4=G1=Q@mail.gmail.com>
Date:   Mon, 6 Jul 2020 16:49:00 +0200
From:   Ulf Hansson <ulf.hansson@...aro.org>
To:     Manivannan Sadhasivam <mani@...nel.org>
Cc:     Andreas Färber <afaerber@...e.de>,
        "linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
        Linux ARM <linux-arm-kernel@...ts.infradead.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] mmc: owl-mmc: Get rid of of_match_ptr() macro

On Sun, 21 Jun 2020 at 04:54, Manivannan Sadhasivam <mani@...nel.org> wrote:
>
> Remove the 'of_match_ptr()' macro to fix the warning when CONFIG_OF is
> not selected.
>
> drivers/mmc/host/owl-mmc.c:677:34: warning: unused variable 'owl_mmc_of_match'
> [-Wunused-const-variable]
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Manivannan Sadhasivam <mani@...nel.org>

Applied for fixes, thanks!

Kind regards
Uffe


> ---
>  drivers/mmc/host/owl-mmc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/owl-mmc.c b/drivers/mmc/host/owl-mmc.c
> index 5e20c099fe03..df43f42855e2 100644
> --- a/drivers/mmc/host/owl-mmc.c
> +++ b/drivers/mmc/host/owl-mmc.c
> @@ -689,7 +689,7 @@ MODULE_DEVICE_TABLE(of, owl_mmc_of_match);
>  static struct platform_driver owl_mmc_driver = {
>         .driver = {
>                 .name   = "owl_mmc",
> -               .of_match_table = of_match_ptr(owl_mmc_of_match),
> +               .of_match_table = owl_mmc_of_match,
>         },
>         .probe          = owl_mmc_probe,
>         .remove         = owl_mmc_remove,
> --
> 2.17.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ