Skip to content

[PW_SID:1092322] riscv: use sysfs_emit in cpu_show_ghostwrite#1899

Closed
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1092322
Closed

[PW_SID:1092322] riscv: use sysfs_emit in cpu_show_ghostwrite#1899
linux-riscv-bot wants to merge 1 commit into
workflow__riscv__fixesfrom
pw1092322

Conversation

@linux-riscv-bot
Copy link
Copy Markdown

PR for series 1092322 applied to workflow__riscv__fixes

Name: riscv: use sysfs_emit in cpu_show_ghostwrite
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1092322
Version: 1

Replace sprintf() with sysfs_emit() in cpu_show_ghostwrite(), which is
preferred for formatting sysfs output because it provides safer bounds
checking.

While the current code only emits fixed strings that fit easily within
PAGE_SIZE, use sysfs_emit() to follow secure coding best practices.

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: use sysfs_emit in cpu_show_ghostwrite"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 139.60 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1131.44 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1669.96 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 25.85 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 26.95 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.79 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 84.97 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
kdoc
Desc: Detects for kdoc errors
Duration: 0.81 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
module-param
Desc: Detect module_param changes
Duration: 0.26 seconds
Result: PASS

@linux-riscv-bot
Copy link
Copy Markdown
Author

Patch 1: "riscv: use sysfs_emit in cpu_show_ghostwrite"
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: use sysfs_emit in cpu_show_ghostwrite"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

@linux-riscv-bot linux-riscv-bot deleted the pw1092322 branch May 13, 2026 23:06
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