Re: [PATCH 1/2] mach-snapdragon: of_fixup: fix property length at writing

2025-03-24 Thread Caleb Connolly
On 2/27/25 10:45, Rui Miguel Silva wrote: The length of a property includes '\0' in a string type one, so the length passed by needs to have that in account, if not, when getting the property value it will fail because it has the wrong size. Signed-off-by: Rui Miguel Silva Tested-by: # db

Re: [PATCH 1/2] mach-snapdragon: of_fixup: fix property length at writing

2025-02-27 Thread Neil Armstrong
On 27/02/2025 10:45, Rui Miguel Silva wrote: The length of a property includes '\0' in a string type one, so the length passed by needs to have that in account, if not, when getting the property value it will fail because it has the wrong size. Signed-off-by: Rui Miguel Silva --- arch/arm/mac

[PATCH 1/2] mach-snapdragon: of_fixup: fix property length at writing

2025-02-27 Thread Rui Miguel Silva
The length of a property includes '\0' in a string type one, so the length passed by needs to have that in account, if not, when getting the property value it will fail because it has the wrong size. Signed-off-by: Rui Miguel Silva --- arch/arm/mach-snapdragon/of_fixup.c | 4 ++-- 1 file changed