commit | c652d516d1ac7631bad59a5d74434a233b40e1e9 | [log] [tgz] |
---|---|---|
author | Dmitry Rokosov <ddrokosov@salutedevices.com> | Fri Dec 20 00:42:09 2024 +0300 |
committer | Tom Rini <trini@konsulko.com> | Tue Jan 14 15:41:56 2025 -0600 |
tree | a119148036924c2f69cb500478c34151a41f868a | |
parent | 66307fd6d1745bee30a97693fc04bc4ee71d18d5 [diff] |
fdt_support: board_fdt_chosen_bootargs() should return const char* It should be structured this way to demonstrate to the caller that freeing the return value is unnecessary and that the caller cannot modify it. The function fdt_setprop() includes a parameter with a const char* prototype, so it is better to use the const qualifier. Signed-off-by: Dmitry Rokosov <ddrokosov@salutedevices.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>