Skip to content

[PW_SID:1067961] riscv: kvm: add null pointer check for vector datap#1632

Open
linux-riscv-bot wants to merge 1 commit intoworkflow__riscv__fixesfrom
pw1067961
Open

[PW_SID:1067961] riscv: kvm: add null pointer check for vector datap#1632
linux-riscv-bot wants to merge 1 commit intoworkflow__riscv__fixesfrom
pw1067961

Conversation

@linux-riscv-bot
Copy link

PR for series 1067961 applied to workflow__riscv__fixes

Name: riscv: kvm: add null pointer check for vector datap
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1067961
Version: 1

Add WARN_ON check before accessing cntx->vector.datap in
kvm_riscv_vcpu_vreg_addr() to detect potential null pointer
dereferences early, consistent with the pattern used in
kvm_riscv_vcpu_vector_reset().

This helps catch initialization issues where vector context
allocation may have failed.

Signed-off-by: Yufeng Wang <wangyufeng@kylinos.cn>
Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
build-rv32-defconfig
Desc: Builds riscv32 defconfig
Duration: 137.94 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
build-rv64-clang-allmodconfig
Desc: Builds riscv64 allmodconfig with Clang, and checks for errors and added warnings
Duration: 1023.47 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
build-rv64-gcc-allmodconfig
Desc: Builds riscv64 allmodconfig with GCC, and checks for errors and added warnings
Duration: 1390.86 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
build-rv64-nommu-k210-defconfig
Desc: Builds riscv64 defconfig with NOMMU for K210
Duration: 26.56 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
build-rv64-nommu-k210-virt
Desc: Builds riscv64 defconfig with NOMMU for the virt platform
Duration: 28.03 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
checkpatch
Desc: Runs checkpatch.pl on the patch
Duration: 0.66 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
dtb-warn-rv64
Desc: Checks for Device Tree warnings/errors
Duration: 83.68 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
header-inline
Desc: Detects static functions without inline keyword in header files
Duration: 0.24 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
kdoc
Desc: Detects for kdoc errors
Duration: 0.89 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
module-param
Desc: Detect module_param changes
Duration: 0.25 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
verify-fixes
Desc: Verifies that the Fixes: tags exist
Duration: 0.23 seconds
Result: PASS

@linux-riscv-bot
Copy link
Author

Patch 1: "riscv: kvm: add null pointer check for vector datap"
verify-signedoff
Desc: Verifies that Signed-off-by: tags are correct
Duration: 0.31 seconds
Result: PASS

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.

1 participant