Skip to content

[PW_SID:1145938] [v3] cache: sifive_ccache: remove debugfs on driver register failure - #2470

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

[PW_SID:1145938] [v3] cache: sifive_ccache: remove debugfs on driver register failure#2470
linux-riscv-bot wants to merge 2 commits into
workflow__riscv__fixesfrom
pw1145938

Conversation

@linux-riscv-bot

Copy link
Copy Markdown

PR for series 1145938 applied to workflow__riscv__fixes

Name: [v3] cache: sifive_ccache: remove debugfs on driver register failure
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1145938
Version: 3

Linux RISC-V bot and others added 2 commits August 8, 2026 18:30
sifive_ccache_init() creates its debugfs entries before registering the
platform driver. If platform_driver_register() fails, the current error
path unmaps ccache_base but leaves the debugfs file and its write
callback reachable.

Remove the debugfs directory on that failure path before unmapping the
controller registers.

Fixes: c90847b ("cache: sifive_ccache: Partially convert to a platform driver")

Assisted-by: Codex:gpt-5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 144.19 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1451.01 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1728.91 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.34 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.29 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.86 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 88.79 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.56 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
kdoc
Desc: Detects for kdoc errors
Duration: 0.92 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
module-param
Desc: Detect module_param changes
Duration: 0.36 seconds
Result: PASS

@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 1.18 seconds
Result: ERROR
Output:

Commit: e6bd34858f4d3 ("cache: sifive_ccache: remove debugfs on driver register failure")
	Fixes tag: Fixes: c90847bcbfb6 ("cache: sifive_ccache: Partially convert to a platform driver")
	Has these problem(s):
		- empty lines surround the Fixes tag
Problems with Fixes tag: 1


@linux-riscv-bot

Copy link
Copy Markdown
Author

Patch 1: "[v3] cache: sifive_ccache: remove debugfs on driver register failure"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.29 seconds
Result: PASS

@linux-riscv-bot
linux-riscv-bot force-pushed the workflow__riscv__fixes branch 2 times, most recently from bb1a926 to 6f6f7c0 Compare August 21, 2026 03:35
@linux-riscv-bot
linux-riscv-bot deleted the pw1145938 branch August 21, 2026 03:36
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