Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2647650pxk; Sun, 27 Sep 2020 16:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRCpnfml9mteTOspuhy6r+yiYqjGSbeXJbCV91wsQq9NSI9Z29m0VDSjjOI0grjy21xDuW X-Received: by 2002:a50:fb0e:: with SMTP id d14mr13525069edq.172.1601249752232; Sun, 27 Sep 2020 16:35:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601249752; cv=none; d=google.com; s=arc-20160816; b=dfUHYP/FkVgWZLBchwFZpr2qvbypSvpnwkrDx3tpQlULztVgHjYOY+ldlkXN1KieZY UYF1c2SHJJXaeVEhF4Q03+yBuSz/GEYn5LIkqr+zvwe7MlGS4VRlM/Q+iwZHPsBt28n/ jlHmLaXQdvoq6Tbdt7Hs1NmDtq/+88KxTQys9vfBFx0Kf4w4gk100BN9c1RyWIokZvpc RqDv5jkL129mCpC1HAc10q+SEaUVpi6gnTXl0twM1CYskeVi6ghfPY2DaJJxtdd8qxs6 /r3oSlO4dszSAxt0L4SnWaOIE9uaQ9WFonqlfio25bilb+9nK/y0F+GcmStaOXCzh/pB 5SeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=aZ6YU8QkqvXetA4BeWJq48mo0OJ9Oxz0crizVyRgPnQ=; b=ftkT3EaiUdTvTTTZ98Bj/72fco/WWIAOYN4m7Tk4ySPOdkK5w0OJjNQhwWjGXuL8mK GdADF27oWTmmOw+2EqTxKvpN+mVwK1+KRFOtaBtqemm6SYcsviHl7cdgxWD0Zb5ZUTK7 9vR5TjjzUiQpEMj9nl+ZpGnUOD+cWg6Q383NC990e8j+2fDbSBrWqG8v09i5MR9Dwcid sO38tCnoF9TOBMM1x/u4CF1MtbDeisP39KqrcaSkgeJxSIEN3+6GP0ezY68BmTZbuzK/ psV6+Or/+aDVIFCYK4CjZXMkCQ9Bz4PpfVf7dp+bizMMPOtXKoegjyIl6MtdOKnBaG+X ti8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LBfnpwp3; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lv10si3863272ejb.483.2020.09.27.16.35.04; Sun, 27 Sep 2020 16:35:52 -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=@gmail.com header.s=20161025 header.b=LBfnpwp3; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726458AbgI0XcX (ORCPT + 99 others); Sun, 27 Sep 2020 19:32:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726380AbgI0XcX (ORCPT ); Sun, 27 Sep 2020 19:32:23 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7A26C0613CE; Sun, 27 Sep 2020 16:32:22 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id z13so9176545iom.8; Sun, 27 Sep 2020 16:32:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aZ6YU8QkqvXetA4BeWJq48mo0OJ9Oxz0crizVyRgPnQ=; b=LBfnpwp3MtO84n7rLN09lDdxgaQPgijIySJX9jjqBw9KF+omtpeDch6oBcawxzUGzs yX85kVxYB9ppBIhv3Pe7vxEvtWnD6wV5PvMNS8ofM0Y5ExRkegvqyKBqHk+KJLmRTaNZ gvyvTQILWZPfvMBiSZW6FCRgne+/XX1lJ3EL3Fi9U8G8TkLw2Sz/55XyABK9Z+rmz+ig LHnRDwU3nq0vU1/XHDiYuL/CvA98PKq6A7/h/Pp5qXeO3MRG1WLYmIHXIljDEacAA67a vLz6rw4USRScKtxncxlaNdz3GL5xZOMOHLCVceypITeAf2XTcXYvDWVkx/oIfj51Lwe8 v8dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aZ6YU8QkqvXetA4BeWJq48mo0OJ9Oxz0crizVyRgPnQ=; b=r/8nys+/ZZA99iKf8tEHWCHTJN6taIkLFwsp2vqdidWeWoNDtqKXv7qTKkm0Xw1xkI YZ969q12P7/gk6rYV6dtAx1Y0sCza7e/QbC0cr8+RleNaR81s2BKxJG1fyIhkC4LxvSL XCNTqVoAfhOFWFRdXKvS6qacJ0+RzRFp6ZfVuxA07o2lrI72stgqcXD0FHzCbeNMxd3w c0vidHYEEhLDDGtrPIb/P2CNvtJKSjPGNyUByNS3uAD9TD2x5+k+b0W9njUTY/KnODrz wV/coPSdTMfLqIsCMOUHvv0cWShUnJ0nbuOoOWbYZc9kjBUEdUeI1KYIiLQ+/4A6Avp5 r03A== X-Gm-Message-State: AOAM532r4qq5RFkYfIZxnKok66yNXeIjJe7xW3dDBevQBZX6mlfgwkk+ NPCv9IK6KqWf3DcokeJlPTyslvIoS+wgRGXVMX4= X-Received: by 2002:a02:6623:: with SMTP id k35mr6811796jac.105.1601249541984; Sun, 27 Sep 2020 16:32:21 -0700 (PDT) MIME-Version: 1.0 References: <20200925194335.GA2453596@bjorn-Precision-5520> In-Reply-To: <20200925194335.GA2453596@bjorn-Precision-5520> From: "Oliver O'Halloran" Date: Mon, 28 Sep 2020 09:32:10 +1000 Message-ID: Subject: Re: [PATCH] rpadlpar_io:Add MODULE_DESCRIPTION entries to kernel modules To: Bjorn Helgaas Cc: Mamatha Inamdar , Linux Kernel Mailing List , Tyrel Datwyler , Michael Ellerman , Bjorn Helgaas , linux-pci , linuxppc-dev Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Sep 26, 2020 at 5:43 AM Bjorn Helgaas wrote: > > 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? I don't think so. The description is just there as an FYI. > 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. Right, the change in this patch is just a documentation fix and shouldn't cause any problems. I was suggesting renaming the module itself since the term "RPA" is only used in this hotplug driver and some of the corresponding PHB add / remove handling in arch/powerpc/platforms/pseries/. We can make that change in a follow up though. > 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