Skip to content

Commit 25bc6af

Browse files
Jeff Johnsonsean-jc
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] [sean: split x86 changes to a separate commit, remove stale VT-x comment] Signed-off-by: Sean Christopherson <[email protected]>
1 parent 1189645 commit 25bc6af

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

virt/kvm/kvm_main.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0-only
22
/*
3-
* Kernel-based Virtual Machine driver for Linux
4-
*
5-
* This module enables machines with Intel VT-x extensions to run virtual
6-
* machines without emulation or binary translation.
3+
* Kernel-based Virtual Machine (KVM) Hypervisor
74
*
85
* Copyright (C) 2006 Qumranet, Inc.
96
* Copyright 2010 Red Hat, Inc. and/or its affiliates.
@@ -74,6 +71,7 @@
7471
#define ITOA_MAX_LEN 12
7572

7673
MODULE_AUTHOR("Qumranet");
74+
MODULE_DESCRIPTION("Kernel-based Virtual Machine (KVM) Hypervisor");
7775
MODULE_LICENSE("GPL");
7876

7977
/* Architectures should define their poll value according to the halt latency */

0 commit comments

Comments
 (0)