diff options
| author | Bibo Mao <[email protected]> | 2025-06-27 10:27:44 +0000 |
|---|---|---|
| committer | Huacai Chen <[email protected]> | 2025-06-27 10:27:44 +0000 |
| commit | c34bbc2c990700ba07b271fc7c8113b0bc3e4093 (patch) | |
| tree | 38b688aa7597bafee703d8c5b7879713cc5b0241 /lib/crypto/utils.c | |
| parent | LoongArch: KVM: Add address alignment check for IOCSR emulation (diff) | |
| download | kernel-c34bbc2c990700ba07b271fc7c8113b0bc3e4093.tar.gz kernel-c34bbc2c990700ba07b271fc7c8113b0bc3e4093.zip | |
LoongArch: KVM: Fix interrupt route update with EIOINTC
With function eiointc_update_sw_coremap(), there is forced assignment
like val = *(u64 *)pvalue. Parameter pvalue may be pointer to char type
or others, there is problem with forced assignment with u64 type.
Here the detailed value is passed rather address pointer.
Cc: [email protected]
Fixes: 3956a52bc05b ("LoongArch: KVM: Add EIOINTC read and write functions")
Signed-off-by: Bibo Mao <[email protected]>
Signed-off-by: Huacai Chen <[email protected]>
Diffstat (limited to 'lib/crypto/utils.c')
0 files changed, 0 insertions, 0 deletions
