Fwnode property API fixes for OF, pset and ACPI
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 of 3 patches 1 replyIn review
- v13 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Make prop const. pset_prop_get() returns const struct property_entry * now in __fwnode_property_read_string_array().
- Make fwnode_property_read_string_array() behave as of_property_read_string_array() does in terms of the return value.
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | device property: fwnode_property_read_string_array() may return -EILSEQdrivers/ | +1 | 0 replies | |
| 2/3 | device property: Fix reading pset strings using array access functionsdrivers/ | +25 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Mika Westerberg |
|---|---|
| Series | R-b |
| 1/3 | R-b |
| 2/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/3] Fwnode property API fixes for OF, pset and ACPI
Hi folks,
Here are three patches that fix a few issues in the fwnode property API implementation. They were formerly a part of a larger patchset "Move firmware specific code to firmware specific locations" here:
<URL:http://www.spinics.net/lists/linux-acpi/msg72174.html>
The v1 (previous version) of the set is also available here:
<URL:http://www.spinics.net/lists/linux-acpi/msg72327.html>
These patches apply cleanly on v4.11-rc1 and linux-next with or without the ACPI graph support patchset I've sent a moment ago.
changes since v1.1:
- Move fixes to fwnode_property_read_string_array() return value fixes to respective implementations of those functions, rather than working around them in the fwnode property interface functions.
- fwnode_property_read_string_array() now may return fewer strings than requested also on ACPI in order to make behaviour of fwnode_property_read_string_array() fully consistent.
changes since v1:
- Make prop const. pset_prop_get() returns const struct property_entry * now in __fwnode_property_read_string_array().
- Make fwnode_property_read_string_array() behave as of_property_read_string_array() does in terms of the return value.
Sakari Ailus (3):
device property: fwnode_property_read_string_array() may return
-EILSEQ
device property: Fix reading pset strings using array access functions device property: fwnode_property_read_string_array() returns nr of
strings
drivers/acpi/property.c | 22 +++++++++++++++++----- drivers/base/property.c | 46 ++++++++++++++++++++++++++++++++-------------- 2 files changed, 49 insertions(+), 19 deletions(-)
Signature · 2 lines
Kind regards, Sakari