Skip to content

[PW_SID:1089378] riscv: pi: replace strlcat with strscpy in get_early_cmdline#1866

Closed
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1089378
Closed

[PW_SID:1089378] riscv: pi: replace strlcat with strscpy in get_early_cmdline#1866
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1089378

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1089378 applied to workflow__riscv__fixes

Name: riscv: pi: replace strlcat with strscpy in get_early_cmdline
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1089378
Version: 1

Linux RISC-V bot and others added 2 commits May 2, 2026 08:13
Use the return value of strscpy() instead of calling strlen(fdt_cmdline)
again and return early on string truncation. Drop the explicit size
argument since early_cmdline has a fixed length, which strscpy()
determines using sizeof() when the argument is omitted.

Replace strlcat() with strscpy() to append CONFIG_CMDLINE.

Also remove the unnecessary fdt_cmdline NULL initialization.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 142.16 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1142.63 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1703.69 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.29 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 27.83 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.80 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 88.55 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
kdoc
Desc: Detects for kdoc errors
Duration: 0.88 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: pi: replace strlcat with strscpy in get_early_cmdline"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot force-pushed the workflow__riscv__fixes branch from 2c3b264 to 2d4fcdd Compare May 10, 2026 02:08
@linux-riscv-bot linux-riscv-bot deleted the pw1089378 branch May 12, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants