Received: by 2002:a05:6520:3645:b029:c0:f950:43e0 with SMTP id l5csp518057lki; Wed, 10 Mar 2021 07:00:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVbCTgmWLqYFRhgdKGoP3Hp6ex6zkiYGV6G1tsGLQ4b5iLfCj9Q2zVt/uNks+HSBoKl72t X-Received: by 2002:aa7:db95:: with SMTP id u21mr3753748edt.152.1615388401935; Wed, 10 Mar 2021 07:00:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615388401; cv=none; d=google.com; s=arc-20160816; b=oxer0ZpKBmTjZYWnyjEI9gG0qHv7e3JYAeW6E7+WtBhncqzLDgQHNvrOBI+0FxcFBq Gdmp5O9wZJKPjDr03T9DlvPM7x9tM96jQNv0zXjKx0kQLGxV1LICBlKFGvTRlEjv9ma8 bNYTVnUuuMCF3IRYuzM5MMaYmDfmVA8g9azVnUaeaaIEh1ipM59K5NDiR1tay04Ra62V YSQpDdHgSsvkatTulnYrGmlTW0RxmkLpeQ0lhFXqTi3O7ZNOIBY3olJCTYvnuGa9BJSB TsDhYl2NQXOOE6Mh7lygt8bSCbR7GH//Sl4pyrioW+wVAoNh9S2rR3L1wAnlXsktBxUr doRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=JCCorWsYSADqQ0GgSFZK9ISbZkKoiALKnxEVntk2amI=; b=SyPPuUpBAa89fcximbNXmI78eWjR+43SbG57dHNh0CZVRJn1Ott0u2i9qmp8jFohnG C+4zK3dkPbEf9onCM0vZMkcttgQLUKzV+M/ECHW55QevMTTIyF/vcHsBHw5zitl8ndUw daNFki6ukLECM4kdsa0TPXU7DO49Xty9UCGkWG1gk6Bg0x6v6/EBPc2ELpJgY0pYTdXZ 0ZhOHKGrTi2XTosmHA5aHig1fuvLdNZcakWsMmsj54a072lnL6vcV0eQ+aTs5Wp993mE nzwHwAk/FSfqVPX2kUEkJj4VxeBBLiWgp85itFSQjQWaawhkAg4F93X7AM5iO0j5lOdl /CpA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bf1si13264686edb.359.2021.03.10.06.59.39; Wed, 10 Mar 2021 07:00:01 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232727AbhCJO5e (ORCPT + 99 others); Wed, 10 Mar 2021 09:57:34 -0500 Received: from mx2.suse.de ([195.135.220.15]:51906 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231880AbhCJO5J (ORCPT ); Wed, 10 Mar 2021 09:57:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 7ADF8AD72; Wed, 10 Mar 2021 14:57:08 +0000 (UTC) Date: Wed, 10 Mar 2021 15:57:07 +0100 From: Jean Delvare To: Andy Shevchenko Cc: Wolfram Sang , Lee Jones , Tan Jui Nee , Jim Quinlan , Jonathan Yong , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-pci@vger.kernel.org, Peter Tyser , hdegoede@redhat.com, henning.schild@siemens.com Subject: Re: [PATCH v1 1/7] PCI: Introduce pci_bus_*() printing macros when device is not available Message-ID: <20210310155707.122f3a1e@endymion> In-Reply-To: <20210308122020.57071-2-andriy.shevchenko@linux.intel.com> References: <20210308122020.57071-1-andriy.shevchenko@linux.intel.com> <20210308122020.57071-2-andriy.shevchenko@linux.intel.com> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Mar 2021 14:20:14 +0200, Andy Shevchenko wrote: > In some cases PCI device structure is not available and we want to print > information based on the bus and devfn parameters. For this cases introduce > pci_bus_*() printing macros and replace in existing users. > > Signed-off-by: Andy Shevchenko > --- > drivers/pci/probe.c | 12 +++--------- > include/linux/pci.h | 9 +++++++++ > 2 files changed, 12 insertions(+), 9 deletions(-) > (...) Nice. Reviewed-by: Jean Delvare (If you introduced a _debug flavor of that, it could probably be used in drivers/pci/hotplug/pciehp_hpc.c.) -- Jean Delvare SUSE L3 Support