Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp108440lqp; Tue, 11 Jun 2024 16:54:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUXR49FNtlt/VmxRkzMPlse2gCLNc4kFsMNXjlf9tQYg8Ds542t1td5Znhp66/5JeHD/CAYebNvO7CSxo1CiL3MrI/OV58fsmpGd0Mo1g== X-Google-Smtp-Source: AGHT+IEAmv9oEhxRrNozv8MjZKAaakzzdBCO9s4YsmR5EPTtmWVgzCRYB7fxCssc+s1D56l7M+t2 X-Received: by 2002:a05:6808:3097:b0:3d2:23b0:891b with SMTP id 5614622812f47-3d23e00b243mr402947b6e.15.1718150068048; Tue, 11 Jun 2024 16:54:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718150068; cv=pass; d=google.com; s=arc-20160816; b=JHBCgfQUg/3307wxe9BXvhp6j0CQdxAlgnl1KbPaUtVjNUrJG/u5fUcYztzzArLg3n C3OXh3PVAB+Z6RhvgTJLzrMR3+JA6TUL56CUYeCIloL1xId30DpJal50Dc4Rzk6TSnoq psdpiKEfNIltRTJWuP4+g5FBtv62RqicK5vDTM6y9M0YJK3y6LonRJ/tR4H8VJjkLhYx vQLJgGG+zX09wyYRd+W6elmoU5V3VLVj4TByzHdaMBUV3CqfoHjYjjl7pzxkxTqtCT/V h0WTgTxytfvdzEue8vRdFblSnoX5l81f1IzBDqh/VsWsmgSbjo70bYUbwypZg+syW9Gh KvXw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=0Y4GBa+TXFeSS85sJfdH9JPc3l5l71wn18Ou06XOFkE=; fh=3BQ2/DaxGmd4mxSPKpzqfc265cQcsU/WMgmR16p8CTU=; b=LYZljOM1pdh3yecxPFGn9DSF3Ug3HuEQwjwd9wydPENn8vZr7nc206+JUeZ2xfx1M4 oilUEGxGQa7C/+t9i5bO0f31fZmiobeK3GFocfch2jkMNUlQBjao7PvxvRpQd0nTeXGn dfpStag2gz1COziNZi+hkKC68FfIOWTt9X7M/h5aBxuqswH3Zy4PbZfAFDcgOnrkzfOz jOt4rWc8zsLIftrAR1EMfQ7vlJoxFhbrRKHO6oBFyiBnBoba8W52nlO84W+AUwdgfydz vFcfoLUgZ7pyChyfuUYLpqMzO7jd/CVpQIEb3tZ3bIy2dSKW89OUBuJ/4/CRmn+2rIxU Gdlw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=e4TLos3d; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-210713-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6e6669bd0e3si7129066a12.409.2024.06.11.16.54.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 16:54:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210713-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=e4TLos3d; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-210713-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 01745284DD4 for ; Tue, 11 Jun 2024 23:54:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85535156257; Tue, 11 Jun 2024 23:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="e4TLos3d" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D41C155A5C; Tue, 11 Jun 2024 23:54:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718150058; cv=none; b=h8+LsxasnuK0iJrYOhbCw88YIJ5zbqePtrEynLxSsS4Gis3Aj7iusu2/K/oWfnThFTiQIw1HilmqfOzg65YnhSUwQtD/+P7R/lKzwuafrCBR3AUTfVLi+mjUCtJP5Ob8cNGhWWAfC2AdZqiz280p7dMz++0zFDZz+LTiZBDtxyg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718150058; c=relaxed/simple; bh=U+HJzVqm3PDjXmyP9XmJ4A4lD0uZ4jNu/vnAUFtrs+8=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:To:CC; b=i7LSq3UmMPP+iEEtPjjDLgxFgBbGgyNYIadUklMQACcOkUwcSrJHvLNN9WcrGQXxjhfsZZpRvER4H7fEkEy4z+Mh6cH1G+7vx24BQUrctCG9IT7bO86QUbwJqIvImsj46VN1mUkyfZmoPYnwrDDR/AU6RkNxWjDI3XGtRHJw2CU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=e4TLos3d; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45BBa1Zo008217; Tue, 11 Jun 2024 23:54:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=0Y4GBa+TXFeSS85sJfdH9J Pc3l5l71wn18Ou06XOFkE=; b=e4TLos3dK/YG8S+9jMfoo4Wu+sKGwfLL4fKyS0 xiEXEYx43KDh9ay6ggX33lNeVg28igFxu4fUTQAZvQVmgwiBy0kn4F56a/FQg0Rx inxz72fZKXyRAvETnJDyzm2JR6M8j8DjKgCkUBTWwA/PFphcnsrUw/qI3gMk0Okm Et9HdGp4QNmllsaHDj+xp7juIvfMgwK5tADIZhw4Vsw72eH7EQQO52A60s28JtP1 /xa2YAbW7mskRvXdrSyGva+1+lOhKxy/UGof3JXoyGFH1zt4KhpIrIbSTtTC/aYk qWMhE3YiSkFHy/MpZgqrzJk1qBrFGajQlYLwgfRyy1/Wz6+g== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yme8s08t6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jun 2024 23:54:08 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45BNs6iK022456 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 Jun 2024 23:54:06 GMT Received: from [169.254.0.1] (10.49.16.6) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 11 Jun 2024 16:54:05 -0700 From: Jeff Johnson Date: Tue, 11 Jun 2024 16:54:05 -0700 Subject: [PATCH] xen: add missing MODULE_DESCRIPTION() macros Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240611-md-drivers-xen-v1-1-1eb677364ca6@quicinc.com> X-B4-Tracking: v=1; b=H4sIAJzjaGYC/x3MywrCMBBG4Vcps3YgCV6KryIu0uSPHbBRZmopl L670eW3OGcjgwqMrt1GikVMXrXBHzpKY6wPsORmCi4c3dl7njJnlQVqvKLyKYSSelxQXE8teiu KrP/h7d48RAMPGmsaf5un1M/KU7QZSvv+BbPmCuV/AAAA To: Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko CC: , , , Jeff Johnson X-Mailer: b4 0.13.0 X-ClientProxiedBy: nalasex01b.na.qualcomm.com (10.47.209.197) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: y8hV1AhieqTHTlSwvyJF07qR0S-m50t2 X-Proofpoint-GUID: y8hV1AhieqTHTlSwvyJF07qR0S-m50t2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-11_12,2024-06-11_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1011 adultscore=0 suspectscore=0 bulkscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 impostorscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406110162 With ARCH=x86, make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/xen/xen-pciback/xen-pciback.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/xen/xen-evtchn.o WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/xen/xen-privcmd.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson --- Corrections to these descriptions are welcomed. I'm not an expert in this code so in most cases I've taken these descriptions directly from code comments, Kconfig descriptions, or git logs. History has shown that in some cases these are originally wrong due to cut-n-paste errors, and in other cases the drivers have evolved such that the original information is no longer accurate. --- drivers/xen/evtchn.c | 1 + drivers/xen/privcmd-buf.c | 1 + drivers/xen/privcmd.c | 1 + drivers/xen/xen-pciback/pci_stub.c | 1 + 4 files changed, 4 insertions(+) diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c index f6a2216c2c87..9b7fcc7dbb38 100644 --- a/drivers/xen/evtchn.c +++ b/drivers/xen/evtchn.c @@ -729,4 +729,5 @@ static void __exit evtchn_cleanup(void) module_init(evtchn_init); module_exit(evtchn_cleanup); +MODULE_DESCRIPTION("Xen /dev/xen/evtchn device driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/xen/privcmd-buf.c b/drivers/xen/privcmd-buf.c index 2fa10ca5be14..0f0dad427d7e 100644 --- a/drivers/xen/privcmd-buf.c +++ b/drivers/xen/privcmd-buf.c @@ -19,6 +19,7 @@ #include "privcmd.h" +MODULE_DESCRIPTION("Xen Mmap of hypercall buffers"); MODULE_LICENSE("GPL"); struct privcmd_buf_private { diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 67dfa4778864..b9b784633c01 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c @@ -48,6 +48,7 @@ #include "privcmd.h" +MODULE_DESCRIPTION("Xen hypercall passthrough driver"); MODULE_LICENSE("GPL"); #define PRIV_VMA_LOCKED ((void *)1) diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c index e34b623e4b41..4faebbb84999 100644 --- a/drivers/xen/xen-pciback/pci_stub.c +++ b/drivers/xen/xen-pciback/pci_stub.c @@ -1708,5 +1708,6 @@ static void __exit xen_pcibk_cleanup(void) module_init(xen_pcibk_init); module_exit(xen_pcibk_cleanup); +MODULE_DESCRIPTION("Xen PCI-device stub driver"); MODULE_LICENSE("Dual BSD/GPL"); MODULE_ALIAS("xen-backend:pci"); --- base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670 change-id: 20240611-md-drivers-xen-522fc8e7ef08