Skip to content
Snippets Groups Projects
Commit 9e5fad0f authored by Nicolas Belin's avatar Nicolas Belin Committed by Mattijs Korpershoek
Browse files

boot: android: rework bootargs concatenation


Rework the bootargs concatenation allocating more accurately
the length that is needed.
Do not forget an extra byte for the null termination byte as,
in some cases, the allocation was 1 byte short.

Fixes: 86f4695b ("image: Fix Android boot image support")
Signed-off-by: default avatarNicolas Belin <nbelin@baylibre.com>
Reviewed-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20241217-fix-bootargs-concatenation-v2-3-b2fd7cf4e130@baylibre.com


Signed-off-by: default avatarMattijs Korpershoek <mkorpershoek@baylibre.com>
parent fd8b44a8
No related merge requests found
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment