Something went wrong. Try again.
Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Something went wrong. Try again.
LoongArch: KVM: Check the return values for put_user()
put_user() may return -EFAULT, so, when the user space address is invalid, the caller should return -EFAULT. Cc: stable@vger.kernel.org Reviewed-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Qiang Ma <maqianga@uniontech.com> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Author Qiang Ma Committer Huacai Chen Date (Jun 11, 2026, 12:46 PM UTC) Commit
Copy SHA
Parent 83551cce 83551ccedffda28b1fa7aeb8fcf5e00489443816