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:   Tue, 9 May 2017 18:24:19 -0400
From:   Jon Mason <jon.mason@...adcom.com>
To:     Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     open list <linux-kernel@...r.kernel.org>,
        BCM Kernel Feedback <bcm-kernel-feedback-list@...adcom.com>
Subject: Re: [PATCH] driver core: platform: Add ability to find resource by
 name or index

On Tue, May 9, 2017 at 1:42 AM, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
> On Mon, May 08, 2017 at 05:59:48PM -0400, Jon Mason wrote:
>> It is not always possible to find a resource via the name.  This may be
>> due to using previous versions of device tree without the names or using
>> ACPI.  To allow for resources to be discovered by either the name or the
>> index, a wrapper was created.  It attempts to find the resource via
>> name, and if unable to find the resource, will then attempt to find the
>> resource via index.
>>
>> Suggested-by: Florian Fainelli <f.fainelli@...il.com>
>> Signed-off-by: Jon Mason <jon.mason@...adcom.com>
>> ---
>>  include/linux/platform_device.h | 15 +++++++++++++++
>>  1 file changed, 15 insertions(+)
>
> Do you have any users for this new function?  We don't like adding apis
> without them...

That is fair.  I currently only have one for an Ethernet device (as I
am early in my ACPI enablement on this platform).  There could
possibly be more.  So, I'll wait until I'm finished and push them as a
series (unless you would prefer that I send what I have now and
follow-on as I come across them).

Thanks,
Jon

>
> thanks,
>
> greg k-h

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ