Commit df5218cc authored by Dandan Zhang's avatar Dandan Zhang Committed by Xianglai Li
Browse files

LoongArch: KVM: Remove undefined a6 argument comment for kvm_hypercall()

mainline inclusion
from mainline-v6.11-rc3
commit 494b0792d962e8efac72b3a5b6d9bcd4e6fa8cf0
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/IAZJDO


CVE: NA

--------------------------------

The kvm_hypercall() set for LoongArch is limited to a1-a5. So the
mention of a6 in the comment is undefined that needs to be rectified.

Reviewed-by: default avatarBibo Mao <maobibo@loongson.cn>
Signed-off-by: default avatarWentao Guan <guanwentao@uniontech.com>
Signed-off-by: default avatarDandan Zhang <zhangdandan@uniontech.com>
Signed-off-by: default avatarHuacai Chen <chenhuacai@loongson.cn>
Signed-off-by: default avatarXianglai Li <lixianglai@loongson.cn>
parent 86394287
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,9 +42,9 @@ struct kvm_steal_time {
 * Hypercall interface for KVM hypervisor
 *
 * a0: function identifier
 * a1-a6: args
 * a1-a5: args
 * Return value will be placed in a0.
 * Up to 6 arguments are passed in a1, a2, a3, a4, a5, a6.
 * Up to 5 arguments are passed in a1, a2, a3, a4, a5.
 */
static __always_inline long kvm_hypercall0(u64 fid)
{