Thread (19 messages) 19 messages, 5 authors, 2016-02-15

Re: [PATCH v2 3/9] ACPI: introduce acpi_table_parse2()

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2016-02-12 23:08:42
Also in: linux-acpi, linux-arm-kernel, lkml

On Fri, Feb 12, 2016 at 7:51 PM, Greg Kroah-Hartman
[off-list ref] wrote:
On Fri, Feb 12, 2016 at 08:43:34PM +0300, Aleksey Makarov wrote:
quoted
The function acpi_table_parse() has some problems:
1 It can be called only from __init code
2 It does not pass any data to the handler
3 It just throws out the value returned from the handler

These issues are addressed in this patch
Why not just fix acpi_table_parse(), like you have, and not add a new
API call with a "2" at the end of it.  That seems crazy to try to
maintain that level of apis.

But I'm not the acpi maintainer(s), so it's their call...
The ACPI maintainer agrees.

Thanks,
Rafael
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help