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:   Thu, 4 Mar 2021 09:30:00 +0100
From:   Ard Biesheuvel <ardb@...nel.org>
To:     Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
        Lukas Wunner <lukas@...ner.de>
Cc:     linux-efi <linux-efi@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] efi/apple-properties: Handle device properties with
 software node API

(+ Lukas)

On Thu, 4 Mar 2021 at 09:28, Heikki Krogerus
<heikki.krogerus@...ux.intel.com> wrote:
>
> The old device property API is going to be removed.
> Replacing the device_add_properties() call with the software
> node API equivalent, device_create_managed_software_node().
>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@...ux.intel.com>
> ---
>  drivers/firmware/efi/apple-properties.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/firmware/efi/apple-properties.c b/drivers/firmware/efi/apple-properties.c
> index e1926483ae2fd..4c3201e290e29 100644
> --- a/drivers/firmware/efi/apple-properties.c
> +++ b/drivers/firmware/efi/apple-properties.c
> @@ -157,7 +157,7 @@ static int __init unmarshal_devices(struct properties_header *properties)
>                 if (!entry[0].name)
>                         goto skip_device;
>
> -               ret = device_add_properties(dev, entry); /* makes deep copy */
> +               ret = device_create_managed_software_node(dev, entry, NULL);
>                 if (ret)
>                         dev_err(dev, "error %d assigning properties\n", ret);
>
> --
> 2.30.1
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ