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]
Date:   Wed, 31 Aug 2022 20:51:58 +0200
From:   "Rafael J. Wysocki" <rafael@...nel.org>
To:     Jean Delvare <jdelvare@...e.de>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        Linux PM <linux-pm@...r.kernel.org>,
        Talel Shenhar <talel@...zon.com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Daniel Lezcano <daniel.lezcano@...aro.org>
Subject: Re: [PATCH] thermal/drivers/thermal_mmio: Drop of_match_ptr()

On Thu, Aug 4, 2022 at 1:59 PM Jean Delvare <jdelvare@...e.de> wrote:
>
> From: Jean Delvare <jdelvare@...e.de>
> Subject: thermal/drivers/thermal_mmio: Drop of_match_ptr()
>
> Now that the driver depends on OF, we know what of_match_ptr() will
> always resolve to, so we might as well save cpp some work.
>
> Signed-off-by: Jean Delvare <jdelvare@...e.de>
> Cc: Talel Shenhar <talel@...zon.com>
> Cc: "Rafael J. Wysocki" <rafael@...nel.org>
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> ---
> This could have been folded into my previous patch, sorry for missing
> it.
>
>  drivers/thermal/thermal_mmio.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- linux-5.18.orig/drivers/thermal/thermal_mmio.c      2022-05-22 21:52:31.000000000 +0200
> +++ linux-5.18/drivers/thermal/thermal_mmio.c   2022-08-04 13:50:46.426178245 +0200
> @@ -107,7 +107,7 @@ static struct platform_driver thermal_mm
>         .probe = thermal_mmio_probe,
>         .driver = {
>                 .name = "thermal-mmio",
> -               .of_match_table = of_match_ptr(thermal_mmio_id_table),
> +               .of_match_table = thermal_mmio_id_table,
>         },
>  };
>
>
>
> --

Applied as 6.1 material, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ