From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EA7C4C4707A for ; Fri, 21 May 2021 17:19:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BF007613E1 for ; Fri, 21 May 2021 17:19:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230174AbhEURUw (ORCPT ); Fri, 21 May 2021 13:20:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:46678 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230166AbhEURUw (ORCPT ); Fri, 21 May 2021 13:20:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id BD74861163; Fri, 21 May 2021 17:19:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1621617568; bh=Kw0Z/gYngDs6rBwhLk3D/2maC8cRlmPg7zUuoMKOHTw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XBIkNEqFHLiT+tWQYIZKazBN7xh482iEtWu9x2mWPdsapbSTIU6hw6FgpU85nLv+V TfNlY3TzQZFCH3/hXyfOj93Svv4mB7oSYD8Zox3Muk7Yk0r6R6i4VnxVzjVjVZOTgr lLFMb0S0xpxa810Nr0NmGxi6IL/VJ5FffYduuKg4= Date: Fri, 21 May 2021 19:19:24 +0200 From: Greg Kroah-Hartman To: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= Cc: Bjorn Helgaas , Logan Gunthorpe , Joe Perches , Oliver O'Halloran , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Tyrel Datwyler , Russell Currey , Kurt Schwemmer , Vidya Sagar , Xiongfeng Wang , Sasha Levin , linux-pci@vger.kernel.org Subject: Re: [PATCH v3 12/14] PCI: Fix trailing newline handling of resource_alignment_param Message-ID: References: <20210518034109.158450-1-kw@linux.com> <20210518034109.158450-12-kw@linux.com> <20210521151443.GB39346@rocinante.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210521151443.GB39346@rocinante.localdomain> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Fri, May 21, 2021 at 05:14:43PM +0200, Krzysztof WilczyƄski wrote: > [+cc Greg and Sasha for visibility] > > Hi Bjorn and Logan, > > [...] > > Fixes: e499081da1a2 ("PCI: Force trailing new line to resource_alignment_param in sysfs") > [...] > > This probably would be a candidate for a back-port to stable and > long-term releases. But, since the move to sysfs_emit()/sysfs_emit_at() > would be then irrelevant, I can split this patch so that it fixes the > issue first, and then other patch will move it to sysfs_emit(), so that > it would be easier to apply when back-porting. sysfs_emit() and sysfs_emit_at() are in all supported stable and long-term kernel trees at this time, so there's no need to shy away from using them. thanks, greg k-h