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.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 08528C433E0 for ; Mon, 4 Jan 2021 22:06:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BFBF622513 for ; Mon, 4 Jan 2021 22:06:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726124AbhADWGM (ORCPT ); Mon, 4 Jan 2021 17:06:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:43870 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbhADWGM (ORCPT ); Mon, 4 Jan 2021 17:06:12 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 90FF122512; Mon, 4 Jan 2021 22:05:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609797931; bh=o2e3lHYsBlwQsIkH4kAmMT3Ep04Jl03o9r2XRNIe9xs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lJTdw/ryNIIFz07P3NfsLU4tHDlRMBe6HGqyWJoUxuIl6RjzKcIn2/SJWqE3oDsiR c53arsS4eDIFwQVLVRQSpxGKejQxTUujhr7ZV6gtlRGRo/q3S/F96J10uGD9LaoBO2 zJtjdQ8kcJUTVrA5g5DIcaTpFO+s2yD6dYRsONVLuJB5Jfaj/BH936hT8M/hA//9Ko 3XJSAyX3ZZ8Vc82lI68tnNEAbbXr3v3bSmp/WGmJk9yypbImVaRqFUTDi84umHU5w7 ZMLHy3huNrh+Pifn8YOfxIGm/0cZlzd/9eXCyB2X6dNFr9b8j3MzZIutoe1IZ6F8+Z gNw55Q4US8c0Q== Date: Mon, 4 Jan 2021 14:05:29 -0800 From: Keith Busch To: "Kelley, Sean V" Cc: Linux PCI , Bjorn Helgaas Subject: Re: [PATCH 2/3] PCI/AER: Actually get the root port Message-ID: <20210104220529.GF1024941@dhcp-10-100-145-180.wdc.com> References: <20201217171431.502030-1-kbusch@kernel.org> <20201217171431.502030-2-kbusch@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Mon, Jan 04, 2021 at 06:42:58PM +0000, Kelley, Sean V wrote: > > On Dec 17, 2020, at 9:14 AM, Keith Busch wrote: > > rc = pci_bus_error_reset(dev); > > - pci_info(dev, "Root Port link has been reset (%d)\n", rc); > > + pci_info(dev, "%s Port link has been reset (%d)\n", rc, > > Perhaps … "%s%s Port I am not sure I understand. What should the second string in this format say? I have to resend this patch anyway because I messed up the parmeter order and build bot caught me. I'll split it out from this patch since it is really a separate issue. > > + pci_is_root_bus(dev->bus) ? "Root" : "Downstream");