Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp723855ybb; Wed, 25 Mar 2020 08:24:27 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs3h8D8BAztq9fuFFPzZEHxFtg6d2XxJIw15Sfa0f66Jcc/mXvX9BsylfgtUEAEuNJLpAi1 X-Received: by 2002:aca:ecd7:: with SMTP id k206mr2819680oih.113.1585149867517; Wed, 25 Mar 2020 08:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585149867; cv=none; d=google.com; s=arc-20160816; b=ilXzVsMQXQ9XH+1+4HaiCSQVzPP+jRs7cJO2mVJQ+ObJltsjxLr4Jt0KdR6aZLRAYb YWf2GDXy4NRYlLbHR0glSSxOCUCQnU2BUvKfUsjRZWo9nV1qq9fg0yayJSfd0HBlBUNq BWjQRxtCZRGWeIvqxKlDeRnjiN+rFW6oXl7ZuU8XthXeFevCG8KtL1I+8+ov3WdtoH7Q ZzTFbPyYAs3zhLvC3TrxhsUOzx/GGJ6elTuzCM3x/hpVQeb2ToBq9OCHfc483s5i+Nkz NMVCfY/vjBnaZDttIIvxDDGxgQclF36pc77+ZF/op6hMl143kbQvkKzFuwo7Q16xKlk6 dsQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=q0JYEoigZWM1yeX7JgpaphNd8KXCrioPAqCpQizqggg=; b=Cn4MxbA251Luh7KZTSyF7AtQIDWCRDPPIyKMIvEmDeiZu37o+j43gJDQsu6kO3hqvb efd33TZVbQlfoLuo297zEjQURg+yZIbT5f8bf4/rcwy0D5/zTyQfBr0ToS+g/3RD9+FJ NMn3jmLUUoCSFcghrJJ93RIoMcwuJk53hteCQbq1FnC7eGfef8cybd41MdrnhcgYTOMa eKipU4ICy5nYEJiy0TPzoqh+2ykOEyn9WffLYornCwoRGV+kqNIPoRg41lNbL75qRIkN GIW8yok4iLRNJrXScUAQagBCRaB6CLaLU/mktNjo1LrLPdwJUnYLW15Hz6KWhxX5wQEk yvTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=autKwVYx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id v62si1703066ooc.18.2020.03.25.08.24.13; Wed, 25 Mar 2020 08:24:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=autKwVYx; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727642AbgCYPX4 (ORCPT + 99 others); Wed, 25 Mar 2020 11:23:56 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:45444 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726838AbgCYPX4 (ORCPT ); Wed, 25 Mar 2020 11:23:56 -0400 Received: by mail-qt1-f193.google.com with SMTP id t17so2427577qtn.12; Wed, 25 Mar 2020 08:23:54 -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=q0JYEoigZWM1yeX7JgpaphNd8KXCrioPAqCpQizqggg=; b=autKwVYxtzoLq5oAA+Cci6u6EukRb+k57IlORCbtMZ0TIBF8bAkJ2aWzN09JD3jY4B uX9DgK8r+QQPBwITxqt2ZZQoKHUHqBCpkMmvWkA1z0abhtfF8M67nOJz4OuilrmgUScU BzGSp7by7/dT7FPbNXuVD9bCLxLI/X4tWQDdx1TCa5Z0iUHvBXBOgZUyNJdDnq+EUYZ6 gElffKRGxJ2Y26EvL0manWdox2JU8feN/5NnARGCVJluMpYTXuK+jvm7QE3ttRoDbm+J RuEvKykfq0Cxxwjg/NKtL50Jtz4PHGJwcH3R8oaV0cyVZGnSagzyIaZks55v3jJK1X3K QIvg== 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=q0JYEoigZWM1yeX7JgpaphNd8KXCrioPAqCpQizqggg=; b=riy6ytZgkFx8wPL4RbpF3EVlJBzmZf+i9lZ8NkL75qDd/vrgGx8wLIw88TzwCQl/Qv FGyUPIuI8LyiClx1WYPdTKnCVwU0IxD3zGvc2EKYhg13U1mxtyD/fhOb3jpCpGnSevrv 2KyNtV16n7hxcFM/R8q7JGXqLMb1/f0Qwo7kOTfyAKwR8xME9XUaGuzZYw3GDE4yMMYB WQHA//A8LQGByT3B92QN/4S5LujQQdyzYXV93YLCFMUZRAVXf9phL8UJj+V1Q+eTxALu UKG2Gvu4TT0pAwm/sIDZS+FhT04Rjm7FKDcNF2gEcrILZVHKqrFdA9qNfsfx44InJ84L /wuQ== X-Gm-Message-State: ANhLgQ3b5+lX0+ncVrL63fFD3SnIdadBNHfOmOqoRBDV5xGbxVuej/br 1hPgdq7uS5jLC7E8tgA1kDkg+WbZFocjTbBL8yY= X-Received: by 2002:ac8:38cc:: with SMTP id g12mr3541264qtc.186.1585149833875; Wed, 25 Mar 2020 08:23:53 -0700 (PDT) MIME-Version: 1.0 References: <20200324234848.8299-1-skunberg.kelsey@gmail.com> <20200325071608.GA2978943@kroah.com> In-Reply-To: <20200325071608.GA2978943@kroah.com> From: Kelsey Date: Wed, 25 Mar 2020 09:23:42 -0600 Message-ID: Subject: Re: [Linux-kernel-mentees] [PATCH] PCI: sysfs: Change bus_rescan and dev_rescan to rescan To: Greg KH Cc: Linux Kernel Mailing List , linux-pci@vger.kernel.org, Bjorn Helgaas , rbilovol@cisco.com, Don Dutile , Ruslan Bilovol , linux-kernel-mentees@lists.linuxfoundation.org, Bodong Wang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 25, 2020 at 1:16 AM Greg KH wrote: > > On Tue, Mar 24, 2020 at 05:48:48PM -0600, Kelsey Skunberg wrote: > > From: Kelsey Skunberg > > > > rename device attribute name arguments 'bus_rescan' and 'dev_rescan' to 'rescan' > > to avoid breaking userspace applications. > > > > The attribute argument names were changed in the following commits: > > 8bdfa145f582 ("PCI: sysfs: Define device attributes with DEVICE_ATTR*()") > > 4e2b79436e4f ("PCI: sysfs: Change DEVICE_ATTR() to DEVICE_ATTR_WO()") > > > > Revert the names used for attributes back to the names used before the above > > patches were applied. This also requires to change DEVICE_ATTR_WO() to > > DEVICE_ATTR() and __ATTR(). > > > > Note when using DEVICE_ATTR() the attribute is automatically named > > dev_attr_.attr. To avoid duplicated names between attributes, use > > __ATTR() instead of DEVICE_ATTR() to a assign a custom attribute name for > > dev_rescan. > > > > change bus_rescan_store() to dev_bus_rescan_store() to complete matching the > > names used before the mentioned patches were applied. > > > > Signed-off-by: Kelsey Skunberg > > You should add: > Fixes: 8bdfa145f582 ("PCI: sysfs: Define device attributes with DEVICE_ATTR*()") > Fixes: 4e2b79436e4f ("PCI: sysfs: Change DEVICE_ATTR() to DEVICE_ATTR_WO()") > > to this too, and a > Cc: stable > to the signed-off-by: area so that it gets properly backported. > > Other than that minor thing, looks good to me, thanks for fixing it so > quickly: > > Reviewed-by: Greg Kroah-Hartman Done! I appreciate the review and help, Greg. :) link to v2: https://lore.kernel.org/r/20200325151708.32612-1-skunberg.kelsey@gmail.com - Kelsey