Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp631321lqp; Wed, 12 Jun 2024 11:16:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVktgTlxjXX6wk9QdQ30hCv/1tadj7rkzRQGXaMZMb1AovMjHnt2TMdTpmbkg6fB9S4h+p2vnpOCsoLpK3cMk21zQ52TsHEqh42k+EY3w== X-Google-Smtp-Source: AGHT+IHN7mkM8AHhSu75knB9Om5TtD1rgKuShx9qR5RrY1WkkDTasTsd8R5GO5LZwFbJUBCEoleh X-Received: by 2002:a05:6870:9708:b0:254:ccac:133e with SMTP id 586e51a60fabf-25514f81515mr2486698fac.56.1718216188127; Wed, 12 Jun 2024 11:16:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718216188; cv=pass; d=google.com; s=arc-20160816; b=gRBalm2PUdsUPrKWZCcnaOWscELUwkq5yy3eVwtqaKde9l9jtJ2hOybCT8FCFjnIfl +oNJCYZSujC8yS44Cu4JbFXC77THk3vR5NZJaeSPz0Bxf2KcLq4YtjK2nkmOhpkR0kXO 6MrEza9zr14wenIIQ+zmG8+JioYuRBrbY9oLQOzHClnavwR7ImMzJ4Tdm7e45e2T9YEG tVdkGLpjlfpDwossk1SsykXvvoT2nHOC5ykOQznGV5QcQhufyb5q4ZD9r1XV0dEQ7mqd OTsH8mungiptyB3qCZ72guyj09WM5+UmYURBvyKb1R9fflwSTSBhIWh2D6C+PcZkq7se Cd2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=ZwQm61fjrWzhWXUF9gQP9qIWTAACp4dpejk9ajtWAXY=; fh=maimQYkmixcLBMuQt1F3vkzNjS+ZdKKmEeWotfgXJ9k=; b=FyU/gwnTsJ+3MLgA0vclIcC7At/8Z+QVh8wjEcnjREMxJnkfYiylyKuVsQa0RGf1+5 qNn8mWzxpxzk3lAkOewxwMhXNrGpUX2GyL1AL+W5olN/V5fPvy/h2QxTBnn+TYly0tsc K0viuIzaw5tWNLhnCeUX4cm3Ba/WTmhoxn3Rn6TI5rkwqSk0kNYvF1CZiCMZTAKit7vE 5Z8NxysMMWYMClb6a0F6Bv9co0HbDpGYDM8JnjiBo/ARniIUuNzCfwso9ZAN/yLRUyYa DL6W95BonL6+3mS3K0Hdd7DKRzn4LKecOBcnIG/7bFlcmXG0w0bLj8Bt5WgklaD8RcML /j2g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-212050-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212050-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6fa115b290csi2155596a12.272.2024.06.12.11.16.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 11:16:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212050-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; arc=pass (i=1 spf=pass spfdomain=netrider.rowland.org); spf=pass (google.com: domain of linux-kernel+bounces-212050-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212050-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu 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 2FAF9284D4D for ; Wed, 12 Jun 2024 18:16:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82B7D39AF4; Wed, 12 Jun 2024 18:16:19 +0000 (UTC) Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by smtp.subspace.kernel.org (Postfix) with SMTP id 65B562E3E0 for ; Wed, 12 Jun 2024 18:16:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.131.102.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718216179; cv=none; b=lxNCZH46bLS93uTh1AIoSmw/Tquac5kQwo3nQWO8GqQt6PErLqDjTubHAPIFziKChGoRCF/77S3uR0icm9GGIWnERxbcEfT2L5UXy/D3Uj03Q2jBEoHjLO6TegNgZuJkpS9esQgNPgcexHwYnHCI0951JNHQH1FvPGoHHEx8pCQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718216179; c=relaxed/simple; bh=Fegv2307vxylDdMBcSU8WOxyIWy1vn+xS4tfkkD5nVY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VrGCCotbcBbqv/lBihnd/eBxTiUTBwylPchg2eq/UAI2MrHpsZjJP8GFJeT9CDKicEs+cS1zWqBry6HjBW4jPf57ai/fskhgNTA3RWcHWeVxb411IOi39xGLvpjIMD2X1sDyO4M8CMJ5hel3bRwsvN2ZF9bSLEzqtE+37Y4DkAI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu; spf=pass smtp.mailfrom=netrider.rowland.org; arc=none smtp.client-ip=192.131.102.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=rowland.harvard.edu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netrider.rowland.org Received: (qmail 232816 invoked by uid 1000); 12 Jun 2024 14:16:15 -0400 Date: Wed, 12 Jun 2024 14:16:15 -0400 From: Alan Stern To: Jeff Johnson Cc: Peter Chen , Greg Kroah-Hartman , Oliver Neukum , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] usb: add missing MODULE_DESCRIPTION() macros Message-ID: <183a4d6a-30ad-4dce-b54d-3624aba36ac9@rowland.harvard.edu> References: <20240611-md-drivers-usb-v1-1-8b8d669e8e73@quicinc.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240611-md-drivers-usb-v1-1-8b8d669e8e73@quicinc.com> On Tue, Jun 11, 2024 at 07:37:20PM -0700, Jeff Johnson wrote: > With ARCH=x86, make allmodconfig && make W=1 C=1 reports: > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/core/usbcore.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/mon/usbmon.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/class/usbtmc.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/storage/uas.o > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/usb/chipidea/ci_hdrc_msm.o > > Add the missing invocations of the MODULE_DESCRIPTION() macro. > > Signed-off-by: Jeff Johnson > --- > This is the remaining one-off fixes in usb. > > 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. > > Let me know if any of these changes need to be segregated into > separate patches to go through different maintainer trees. > diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c > index a0c432b14b20..65f9940bc7e8 100644 > --- a/drivers/usb/core/usb.c > +++ b/drivers/usb/core/usb.c > @@ -1150,4 +1150,5 @@ static void __exit usb_exit(void) > > subsys_initcall(usb_init); > module_exit(usb_exit); > +MODULE_DESCRIPTION("USB support library"); > MODULE_LICENSE("GPL"); I would change this to "USB core host-side support", or something more along those lines. It's not just a library because it does include several drivers (such as the USB hub driver). And it's host-side rather than device-side -- that's a separate module. Alan Stern