diff options
author | Jeff Johnson <quic_jjohnson@quicinc.com> | 2024-06-22 22:44:55 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-28 08:51:41 -0700 |
commit | 25bc6af60f6121071ab4aa924a24cf6011125614 (patch) | |
tree | a8e98e0111169668f5efe4d092dc51dfd29459cb /virt | |
parent | 1189645629696658c27d4c619c8857f3c588daa8 (diff) | |
download | linux-25bc6af60f6121071ab4aa924a24cf6011125614.tar.gz linux-25bc6af60f6121071ab4aa924a24cf6011125614.tar.bz2 linux-25bc6af60f6121071ab4aa924a24cf6011125614.zip |
KVM: Add missing MODULE_DESCRIPTION()
Add a module description for kvm.ko to fix a 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/kvm/kvm.o
Opportunistically update kvm_main.c's comically stale file comment to
match the module description.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240622-md-kvm-v2-1-29a60f7c48b1@quicinc.com
[sean: split x86 changes to a separate commit, remove stale VT-x comment]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'virt')
-rw-r--r-- | virt/kvm/kvm_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 5a2643c5a8ec..c8a877368f8a 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1,9 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Kernel-based Virtual Machine driver for Linux - * - * This module enables machines with Intel VT-x extensions to run virtual - * machines without emulation or binary translation. + * Kernel-based Virtual Machine (KVM) Hypervisor * * Copyright (C) 2006 Qumranet, Inc. * Copyright 2010 Red Hat, Inc. and/or its affiliates. @@ -74,6 +71,7 @@ #define ITOA_MAX_LEN 12 MODULE_AUTHOR("Qumranet"); +MODULE_DESCRIPTION("Kernel-based Virtual Machine (KVM) Hypervisor"); MODULE_LICENSE("GPL"); /* Architectures should define their poll value according to the halt latency */ |