summaryrefslogtreecommitdiff
path: root/include/linux/linux_string.h
diff options
context:
space:
mode:
authorNicolas Belin <[email protected]>2024-12-17 14:29:10 +0100
committerMattijs Korpershoek <[email protected]>2024-12-18 14:04:23 +0100
commit9e5fad0f792539ae4258bc116bf408bb6faf7e82 (patch)
treea6ffac4ff643839fba128b16549f2e4fbbe1ca0f /include/linux/linux_string.h
parentfd8b44a81be55b33c7defbe96a1ddd79ed286eb4 (diff)
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: Nicolas Belin <[email protected]> Reviewed-by: Mattijs Korpershoek <[email protected]> Link: https://lore.kernel.org/r/20241217-fix-bootargs-concatenation-v2-3-b2fd7cf4e130@baylibre.com Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions