Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1266917lqj; Mon, 3 Jun 2024 16:09:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXVK/0bcNmH+7DP8+WXozxguhIWaXS81Vlxne1EKmq47YjJIZq0CkAyvLFAatlqBG74HpFGZyA/sZLwDEsM7oKgYbrVNKcl/TQoDEqIWw== X-Google-Smtp-Source: AGHT+IFvhMj2UQVSEXPH8AqjCxor1vy2kn3T9ghla3TvqlGyCE7PAWSC+nGbJ/Ssk7Cq8Xxtot9+ X-Received: by 2002:a05:6214:5543:b0:6ae:3e02:fa16 with SMTP id 6a1803df08f44-6aecd6c14b1mr138336446d6.37.1717456193857; Mon, 03 Jun 2024 16:09:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717456193; cv=pass; d=google.com; s=arc-20160816; b=dJK9i/jb20FpbVJgVzgbQFxh9jURuWRtZLKXHhdQMfil+IxyA8oXBm2yZVLOCmnQnT DSqhPpbOV7SLJXJtG+RaZ3Hq/GbDYTLG7n2TKtF6fULfx5qMoAuj8QYU1TF0ibo8/47P fdCp73BL0KIiBitRvcw72XkUS8QZ8t8DKbaIEx/qZHyFcVGAYiEVfmQG0MpnvVNkEvac V6a2+2YRnfZyrEXet0FconaABnmU4TOSB+AAGwwwfjqabQp/uaG0kqG+YXopcEIPZNiH PKIZR8sagXg333o2GjMY7c9xqDmC1WaVV92alZedwhSHE90z+3HkvdbwtpiQ9Ig1/6Er bLCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=y02Vd8LvL6qGr5hcAc4CbRMglkCqCK2c6hpSKvjJ2uI=; fh=JklJd9cCuxBmh+x1q1iCPhJI7AJMpu6TXw3GePdNsmc=; b=NSM2DY/KnBr9uT4y1wFaTF0CFHIg1JMUEyxnpaSOkRB8O+43jogJq+/8SCWIXB+hLD AeI17Rn2nIvG63BhJ0+oN+r+KaMmFRGv2vz3qj8pVaZHtIZX3uBMubz6VXdXSOVUzune 9DXN6mj53eHPLfLW6a3ahqD7OWUO7pxlvKVh9p9E6Ok+yWi/LD3WWkLB1sXEVphOsQZR 7D+UEBhWnkCoq4tCME0QRo6UotuB53RQJ0n06+zpJ/eZg40O8rS2UBuMDHBtMNWVtuyT tM2NYEMpjq83n/Hxl8jYIjAHs05DfK33n9IM0NR/ufrpoxncouHViUmGD04ks6c5fZBA yBKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=PPAg1TcQ; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-199809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b417848si96878246d6.339.2024.06.03.16.09.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 16:09:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=PPAg1TcQ; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-199809-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199809-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 93DEF1C233CB for ; Mon, 3 Jun 2024 23:09:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF3FF13D240; Mon, 3 Jun 2024 23:09:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="PPAg1TcQ" Received: from mail-yw1-f201.google.com (mail-yw1-f201.google.com [209.85.128.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DECF413B5A7 for ; Mon, 3 Jun 2024 23:09:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717456183; cv=none; b=JQxcgXNO7RktjSQCZ6Ib3pc0uJTzDWnS3npIhpkc7l6tMF5C8V8O0nXq40WwTq629Bsxh7GKvAnbBNMDVeUqippkB6olPynO7YgXz1RBBXRvsqr0WR/feEUXmbbYyDKjs6t8CGX17/wYTmg1g2f34DjvzkzD0CctLtZfkXNMMR4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717456183; c=relaxed/simple; bh=2Cr/MGTyJ4s8a/RPdFiVjhQipAiRLd8O9rwOV2oOFDo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=grb22fDD6QT4AxK0CVtSKBLmtjFXjS/emi8p95JAOYFuDtVGygnvSy9VyjBrsKqz0bfJsq22cg0gXRm0h4J13OBqfaUW+AxrzYIVT21fMpTHKXqRh+/JZi0NFeG/3qoGHey0q7PjaxxjVbCHKTxpUGfV/zfVqZHSkQDawHIr88A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=PPAg1TcQ; arc=none smtp.client-ip=209.85.128.201 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yw1-f201.google.com with SMTP id 00721157ae682-62a0841402aso59425397b3.2 for ; Mon, 03 Jun 2024 16:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717456181; x=1718060981; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=y02Vd8LvL6qGr5hcAc4CbRMglkCqCK2c6hpSKvjJ2uI=; b=PPAg1TcQOyj5oppIutTOTFo3HqA08PkfrVKgeXjOjFm2wb0MDnvBlKi8HaMRQUgUWN sqHkYYw8Rl1vpyb871FlhqsiLzROh+kOpl369j3As76QF3HXdykSzbGSGN5sdin0dEyc ZUW8sPYCvBIwEu2W0KF2RBMDT7ixIMBgWBKB47oDUZK4bH71U7ZirwftNJwknM4S50IG kk5Tto4xlVybbzGjidXWTgoGAWkRBWQgKSJEEKHE6VEohX6bpQuXa6PsxY8Q1iChoP+J 2mbfpLflQnzXsPmtZEmjy/saus0jI/Sx2Sn18BuD+tSNmhyBr4hghLQSGG/gXE/tAc9Z 3j8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717456181; x=1718060981; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y02Vd8LvL6qGr5hcAc4CbRMglkCqCK2c6hpSKvjJ2uI=; b=D08LL6wfhy+MQ2BvOwfaBoorDF9sOxCLedBE4+eKFjaXIu71SFMpKw2mALzFxuMnC2 XzSDRbxKksKSZv53+BVo5U5X1E/6JYe+8pM+kL3P4Gx7XE4Fgd/mPH0Gu+HurKPhGwyE efK+JisLQvRJE8c5Y7IuUtIz1coTN5WBBwz5/UTsBDBgMYf3QTAkRbmpBTWaBqdMg6aj lWwTRQA3WLBybnxOZhQVjaC+FUAlPjIcc991thFidpubIf0ZFdNBnZnxJhYsezSCVf6h 2XeZfISGzc88kpGqeP76d/1vtmxeSzEgVNzvoWf5TKXrPsvUlsEmZ1Uy5eWAfzZ7mGHN aiAQ== X-Forwarded-Encrypted: i=1; AJvYcCXkwWOI8TBb8TKB5kT0MUK4/VgMxD5RprNBTS9VGLpNr6R0d+63iMZ5XTS05dCx+fW9mW6yDwFvU/t9IvCykXLIf1YPouQnX29eEzOl X-Gm-Message-State: AOJu0YxxHfpTTHG9x9FjIQi1xztjTwowU+g+JRZ6PTZuiiPBU29H8sLH pkZ2bmvVi/pjnGyE43fsfHCV3xB3znky8agoewJyyENiiAaZ28IYNU0hGXnpgjhRLJH7eDFhlvz yCg== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:690c:385:b0:622:befc:2e97 with SMTP id 00721157ae682-62c796bdd36mr25532117b3.4.1717456180940; Mon, 03 Jun 2024 16:09:40 -0700 (PDT) Date: Mon, 3 Jun 2024 16:09:39 -0700 In-Reply-To: <20240528-md-kvm-v1-1-c1b86f0f5112@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20240528-md-kvm-v1-1-c1b86f0f5112@quicinc.com> Message-ID: Subject: Re: [PATCH] KVM: x86: add missing MODULE_DESCRIPTION() macros From: Sean Christopherson To: Jeff Johnson Cc: Paolo Bonzini , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Tue, May 28, 2024, Jeff Johnson wrote: > Fix the following allmodconfig 'make W=1' warnings when building for x86: > WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/kvm/kvm.o > WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/kvm/kvm-intel.o > WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/kvm/kvm-amd.o > > Signed-off-by: Jeff Johnson > --- > arch/x86/kvm/svm/svm.c | 1 + > arch/x86/kvm/vmx/vmx.c | 1 + > virt/kvm/kvm_main.c | 1 + > 3 files changed, 3 insertions(+) > > diff --git a/arch/x86/kvm/svm/svm.c b/arch/x86/kvm/svm/svm.c > index c8dc25886c16..bdd39931720c 100644 > --- a/arch/x86/kvm/svm/svm.c > +++ b/arch/x86/kvm/svm/svm.c > @@ -53,6 +53,7 @@ > #include "svm_onhyperv.h" > > MODULE_AUTHOR("Qumranet"); > +MODULE_DESCRIPTION("KVM SVM (AMD-V) extensions"); How about "KVM support for SVM (AMD-V) extensions"? > MODULE_LICENSE("GPL"); > > #ifdef MODULE > diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c > index 6051fad5945f..956e6062f311 100644 > --- a/arch/x86/kvm/vmx/vmx.c > +++ b/arch/x86/kvm/vmx/vmx.c > @@ -74,6 +74,7 @@ > #include "posted_intr.h" > > MODULE_AUTHOR("Qumranet"); > +MODULE_DESCRIPTION("KVM VMX (Intel VT-x) extensions"); And then a similar thing here. > MODULE_LICENSE("GPL"); > > #ifdef MODULE > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c > index 14841acb8b95..b03d06ca29c4 100644 > --- a/virt/kvm/kvm_main.c > +++ b/virt/kvm/kvm_main.c > @@ -74,6 +74,7 @@ > #define ITOA_MAX_LEN 12 > > MODULE_AUTHOR("Qumranet"); > +MODULE_DESCRIPTION("Kernel-based Virtual Machine driver for Linux"); Maybe "Kernel-based Virtual Machine (KVM) Hypervisor"? I personally never think of KVM as a "driver", though I know it's been called that in the past. And having "Hypervisor" in the name might help unfamiliar users.