On Mon, May 21, 2018 at 04:26:14PM -0700, Stefan M Schaeckeler wrote: > For strings, account for trailing \0 in property length field: > > This is consistent with how dtc builds string properties. > > Function __of_prop_dup() would misbehave on such properties as it duplicates > properties based on the property length field creating new string values > without trailing \0s. > > Signed-off-by: Stefan M Schaeckeler <sschaeck@xxxxxxxxx> > Reviewed-by: Frank Rowand <frank.rowand@xxxxxxxx> > Tested-by: Frank Rowand <frank.rowand@xxxxxxxx> > --- > Changes in v3: > - forgot one string in v2. > Changes in v2: > - fixed spacing around + sign. > > drivers/of/unittest.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) Applied, thanks. Rob -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html