[PATCH 0/3] fdt_support: improve board_fdt_chosen_bootargs() for flexibility
Tom Rini
trini at konsulko.com
Wed Jan 15 02:13:07 CET 2025
On Fri, 20 Dec 2024 00:42:07 +0300, Dmitry Rokosov wrote:
> This series consists of three patches.
>
> The first patch modifies the function documentation style in the
> include/fdt_support.h file to comply with kernel-doc requirements.
>
> The second patch modifies the board_fdt_chosen_bootargs() function to
> return a const char* type. This change clarifies to the caller that the
> returned string should neither be freed nor modified. It aligns with the
> existing fdt_setprop() function, which already utilizes a const char*
> parameter. This promotes consistency within the codebase and enhances
> code safety by preventing unintended modifications to the returned
> string.
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list