diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-08-28 19:43:37 +0200 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-10-06 19:02:55 -0700 |
| commit | 37ee144a07c0d652bea6986ec587eafa22df32c4 (patch) | |
| tree | 46c14952fc5e9a7705be95439a0524d9b57a2b64 /kernel | |
| parent | b4cc0016f8ead77c823f2d55f4e0a0e61dd924b3 (diff) | |
| download | linux-37ee144a07c0d652bea6986ec587eafa22df32c4.tar.gz linux-37ee144a07c0d652bea6986ec587eafa22df32c4.zip | |
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
