Thread (2 messages) 2 messages, 2 authors, 2017-03-27

Re: [PATCH 1/3] device property: fwnode_property_read_string_array() may return -EILSEQ

From: Sakari Ailus <sakari.ailus@linux.intel.com>
Date: 2017-03-27 21:39:19
Also in: linux-acpi

Hi Mika,

Mika Westerberg wrote:
On Mon, Mar 06, 2017 at 03:26:29PM +0200, Sakari Ailus wrote:
quoted
fwnode_property_read_string_array() may return -EILSEQ through
of_property_read_string_array(). Document this.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Thanks!
Though, I wonder if it would be good to change the function to only
return what the DT version does. Now the caller needs to check for both
values.
It's rather that this value is currently returned by 
of_property_read_string_array(). I'd guess though that most callers 
don't care about the error code.

-- 
Kind regards,

Sakari Ailus
sakari.ailus@linux.intel.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help