Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
init: simplify early_hostname()
Inline the strscpy() check and remove the redundant arglen variable. Use %zu to format the unsigned maxlen argument and add a newline after the truncation warning. Link: https://lore.kernel.org/20260828174337.609333-2-blum@kernel.org Signed-off-by: Thorsten Blum <blum@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Author Thorsten Blum Committer Andrew Morton Date (Oct 7, 2026, 2:02 AM UTC) Commit
Copy SHA
Parent b4cc0016 b4cc0016f8ead77c823f2d55f4e0a0e61dd924b3