Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1381415pxk; Fri, 25 Sep 2020 13:15:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrRZPb/2lP5nT67GjDiQeUvZJFmdAQpd0n5XkGZOZgHL5Zm/pkGjEBwJ6mdXJmA68Ki4aN X-Received: by 2002:a17:906:cb98:: with SMTP id mf24mr4715336ejb.90.1601064946527; Fri, 25 Sep 2020 13:15:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601064946; cv=none; d=google.com; s=arc-20160816; b=Z95ml34CUj/hgyZIKqs85HnVzmfZzmKbScCkdilWaHpIRHI+y+acbjjvrgTgI22/1r ns+CjP1OqMgzwMI24jNFRTB91fmtpBgo4UUugRqRrlDlqKxLLAlQJ5SAkMFLy2CfjtmU zhtmWOQChHpIDeLonidxymEhE2jxQFCqP8j+gBr4V66s+PyLCcEBmn4VisSkcyCis+GP HcEJCpXE90vjdWbkdmeMgIZExfGdrGggSiVgSdANyqILeewEFSA8E3yRqOgpkx0akMuq qtbBG+Rr7Yw2dyJDOZcf4ApccFc4Uzo1bXXutUmJp1ARJk1gtL7Vkckn2s91N7yR62f9 rWzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=6EzjZrEci9FNCIG5psP6V9EhXZYzzT4cRcyB9EHB3m4=; b=YsF+wxIsw0BYEk17+RjUIG/Nqw3HI5deV1OTzOk54iuLzR4lV07KBPBwXXrlI9w53d rOwZwM0ELCI0x4J2Hk9b62qkcixG9c+p2U8PVKP855bIc3wU+SvhGbMPnxjbNL+A8jbI Bhp9ReGdenoN7uT2MucM5GTbVpyDIvKUUNXZ+3lWRiX6+jsXeGO0QxU7CvJ4/QkqOvA8 1c2cQMwEN7X67rlf2/Q6+N0xpV67xrzBnIbQtZ7nv0Zq2UQX/19U00e9mZC9I75APQEh e12DDJc8CgWDhW1D6DcWdz8uzuvGNCdoV+e8LVlzfR2/UI1fLZ2mBOt/ix4UVztc9lJS YuaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EBQLJ1lw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g19si2656611eds.240.2020.09.25.13.14.40; Fri, 25 Sep 2020 13:15:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=EBQLJ1lw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726316AbgIYUMb (ORCPT + 99 others); Fri, 25 Sep 2020 16:12:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:41634 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728153AbgIYUKa (ORCPT ); Fri, 25 Sep 2020 16:10:30 -0400 Received: from localhost (52.sub-72-107-123.myvzw.com [72.107.123.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5B37A239D0; Fri, 25 Sep 2020 19:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601063018; bh=XcyxD7o3T4uxEDDHeyvxWOgJX8D+176T3V+2nhs+oro=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=EBQLJ1lwD9UoT5W8rggPDIUh3MigsRiKEnbCQBvVLLjqQoFJuAuRIDOhfGywFfr6C TzM1PDVgxrHN7FlMYbuxGMeK8FqhLVmGAPxa+zPyJHHhu8emHagtgvzufS+rcuODsV iHBw6vA5mcISTtNJwuJjocKmfNkjPX68ekU4eGTs= Date: Fri, 25 Sep 2020 14:43:35 -0500 From: Bjorn Helgaas To: Oliver O'Halloran Cc: Mamatha Inamdar , Linux Kernel Mailing List , Tyrel Datwyler , Michael Ellerman , Bjorn Helgaas , linux-pci , linuxppc-dev Subject: Re: [PATCH] rpadlpar_io:Add MODULE_DESCRIPTION entries to kernel modules Message-ID: <20200925194335.GA2453596@bjorn-Precision-5520> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 24, 2020 at 04:41:39PM +1000, Oliver O'Halloran wrote: > On Thu, Sep 24, 2020 at 3:15 PM Mamatha Inamdar > wrote: > > > > This patch adds a brief MODULE_DESCRIPTION to rpadlpar_io kernel modules > > (descriptions taken from Kconfig file) > > > > Signed-off-by: Mamatha Inamdar > > --- > > drivers/pci/hotplug/rpadlpar_core.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/pci/hotplug/rpadlpar_core.c b/drivers/pci/hotplug/rpadlpar_core.c > > index f979b70..bac65ed 100644 > > --- a/drivers/pci/hotplug/rpadlpar_core.c > > +++ b/drivers/pci/hotplug/rpadlpar_core.c > > @@ -478,3 +478,4 @@ static void __exit rpadlpar_io_exit(void) > > module_init(rpadlpar_io_init); > > module_exit(rpadlpar_io_exit); > > MODULE_LICENSE("GPL"); > > +MODULE_DESCRIPTION("RPA Dynamic Logical Partitioning driver for I/O slots"); > > RPA as a spec was superseded by PAPR in the early 2000s. Can we rename > this already? > > The only potential problem I can see is scripts doing: modprobe > rpadlpar_io or similar > > However, we should be able to fix that with a module alias. Is MODULE_DESCRIPTION() connected with how modprobe works? If this patch just improves documentation, without breaking users of modprobe, I'm fine with it, even if it would be nice to rename to PAPR or something in the future. But, please use "git log --oneline drivers/pci/hotplug/rpadlpar*" and match the style, and also look through the rest of drivers/pci/ to see if we should do the same thing to any other modules. Bjorn