]> Git Repo - J-linux.git/commitdiff
KVM: Add missing MODULE_DESCRIPTION()
authorJeff Johnson <[email protected]>
Sun, 23 Jun 2024 05:44:55 +0000 (22:44 -0700)
committerSean Christopherson <[email protected]>
Fri, 28 Jun 2024 15:51:41 +0000 (08:51 -0700)
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]>
virt/kvm/kvm_main.c

index 5a2643c5a8ec831ec0c353b4b7fdb5580601edf9..c8a877368f8a9ecbecd9f6167ba62f122a275ee9 100644 (file)
@@ -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 */
This page took 0.055941 seconds and 4 git commands to generate.