Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2896643lqo; Mon, 20 May 2024 23:44:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWYjcrheFETaoB4PHIZKzFXtuadsBrG8NX2a1laqzjxBisjv4gFAugXFlvqYGM3mBHFRJ+TyKtRHMi9teruBjdD7lBQZtV308q+J0v8lQ== X-Google-Smtp-Source: AGHT+IEj6UqaDLBb8rD98W0ZMc//2dBgPCxR2MC0AYgpZ94FldJuo4Nh9XcZx//7x7likAsTVznG X-Received: by 2002:a05:6a20:9746:b0:1af:cd4a:212a with SMTP id adf61e73a8af0-1afde0825cfmr39597503637.1.1716273855169; Mon, 20 May 2024 23:44:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716273855; cv=pass; d=google.com; s=arc-20160816; b=iJTtJdQa0QX41Xk2P2F9N2swlg8SLBkRrgAnO2Hr8A2c3VjcRfKuc+c8JoVtI4eYM1 aU+1UtaXc1hzYtfRV5cnTZFWdWubp2W5SbFpMI3uvMw3rH8NcLQgzbOgeukouz0WvbNe NNP+BhInwxfBHC4wNXjuigNLuw5CgzkJ/WE0v1eBBv8DzI2oZcE2UliQFmj8g9NTrhL0 0vuMbKLVrAT5fQ32fk/Cm8RPezA8E7mt/M6PsHsvaIbAa5j0GkrDZK9/NG9/BCkKUOr0 nw9pIfAsPrkKIKWFCBkdMy/AHy2YqQMcvxF6mP6/cYs8lnjgoDaZcx0PU5/s/HjRwlVZ rxLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+ZfOONRU6juW9FS/6TxFdABLBWxqz7rqnKx7hWQStMk=; fh=Y9iQRl5QegnBKOPoWTXr4RAVBBFNCBdNZ7g5VNjc9mE=; b=bnQgyluMA/YJ16wSxtQUcEPjFqkiq3jOW5l/976HQ6tkHG5zL5ETw0awSPR36uImON W+xk2ElGmkzmnuJOfC2u6ueB+nYcoEEUGxj1buQYej4/T4ZcOW1sEfefs7NYfeqFx0qv 7f+CxBGhPN9K57bU67OTqaXqcqN1WhX+E9wMFZcoRFiUJsldF//iyrB3Si06j4oddhHo c447EjLxM2aKHrml80xMfAOI57/2dtKDpB3dwhAyFmSDMhLjKQmwOSEtpUbyIKvuY0Fr Zco/Q4oYvzs4Ti81Z7XwlCSgQBSxF8kL4J9/6uCc6rUDGF+DbM6B4XRQKE/VKrdFMBtp F6JQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NAJbt7a5; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-184526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b628ea7a85si26152705a91.117.2024.05.20.23.44.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 23:44:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=NAJbt7a5; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-184526-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184526-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C34092829AA for ; Tue, 21 May 2024 06:44:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F4AF482C6; Tue, 21 May 2024 06:44:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="NAJbt7a5" Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E718941C63; Tue, 21 May 2024 06:44:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.23.249 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716273843; cv=none; b=hByU3+wNTgnJJxYBykBjO7OJM/OcsiThj1fd7HKyiWDDQjvvrh6Z/l1W5dfAPfOy7jTpuh61pXQe9yQgxVe4vbND4L3fllKVGeBpkzgk47rbEGnfU8/V/eWYp2mJ3VW9s2Pg5aLc8JxsewXktdFElm6qRI3l5d7kNgDgfIvkm+A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716273843; c=relaxed/simple; bh=eck8LkiBmFIk3D6cjAJWmIkNyfD/MCEdYcx9mI2Wz8U=; h=Date:From:To:CC:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=cKDve+HkMDHCR1OoFAkwilNEbNfxuKZsxzmqXl4T+BTpQ04CfxFVcTyT1j4O1lfPtI2gyobv61pp3hTDYjLdwJWtyiSlF7kuiG0+D1yz5KOIaHJfuZV9yuSIeJHiGJU2UU2yWd8IIURliE6y422Ngly8gd0fKVogzKttW/79Kdo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=NAJbt7a5; arc=none smtp.client-ip=198.47.23.249 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44L6gmm0011241; Tue, 21 May 2024 01:42:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1716273768; bh=+ZfOONRU6juW9FS/6TxFdABLBWxqz7rqnKx7hWQStMk=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=NAJbt7a5DoTR+zca5xHgtqfKuYpVEVUoncFcDAa9rnhd0cNDBfAjwlhHiy9tha2Vb g+Gb2EgkITFo0mgOhhaULzAGqx7RAEEAtxvOqpq8731MIkkNr26sB2h4ivC48fprL6 wDMkTrcTcJlygDX4vsPSR2HaVHGcYvfXEn8aKLKI= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44L6gmJG015907 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 21 May 2024 01:42:48 -0500 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Tue, 21 May 2024 01:42:48 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Tue, 21 May 2024 01:42:48 -0500 Received: from localhost (uda0492258.dhcp.ti.com [172.24.227.9]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44L6gldU029813; Tue, 21 May 2024 01:42:48 -0500 Date: Tue, 21 May 2024 12:12:46 +0530 From: Siddharth Vadapalli To: Onkarnarth CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , Maninder Singh Subject: Re: [PATCH v2 1/1] PCI : Refactoring error log prints for better readability Message-ID: <2227b0ed-a57f-4bca-8f3e-721bc2e2055a@ti.com> References: <20240521061528.3559751-1-onkarnath.1@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20240521061528.3559751-1-onkarnath.1@samsung.com> X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On Tue, May 21, 2024 at 11:45:28AM +0530, Onkarnarth wrote: > From: Onkarnath nitpick: In $subject: s/Refactoring/Refactor to follow the convention of using imperative mood. > > As %pe is already introduced, it's better to use it in place of (%ld) or > (%d) for printing error in logs. It will enhance readability of logs. > > Error print style is more consistent now. > > Suggested-by: Bjorn Helgaas > Co-developed-by: Maninder Singh > Signed-off-by: Maninder Singh > Signed-off-by: Onkarnath Thank you for the patch. LGTM. Reviewed-by: Siddharth Vadapalli > --- > Suggested by Bjorn Helgaas in below discussion > https://patchwork.kernel.org/comment/25712288/ > > v1 -> v2: Added suggested by tag > > drivers/pci/bus.c | 2 +- > drivers/pci/controller/dwc/pci-dra7xx.c | 2 +- > drivers/pci/controller/dwc/pci-meson.c | 16 +-- > drivers/pci/controller/dwc/pcie-armada8k.c | 4 +- > drivers/pci/controller/dwc/pcie-histb.c | 6 +- > drivers/pci/controller/dwc/pcie-intel-gw.c | 10 +- > drivers/pci/controller/dwc/pcie-keembay.c | 2 +- > drivers/pci/controller/dwc/pcie-kirin.c | 6 +- > drivers/pci/controller/dwc/pcie-qcom-ep.c | 18 +-- > drivers/pci/controller/dwc/pcie-qcom.c | 18 +-- > drivers/pci/controller/dwc/pcie-tegra194.c | 132 +++++++++--------- > drivers/pci/controller/dwc/pcie-uniphier-ep.c | 2 +- > drivers/pci/controller/pci-aardvark.c | 6 +- > drivers/pci/controller/pci-ftpci100.c | 2 +- > drivers/pci/controller/pci-tegra.c | 86 ++++++------ > drivers/pci/controller/pci-xgene.c | 4 +- > drivers/pci/controller/pcie-microchip-host.c | 2 +- > drivers/pci/controller/pcie-rcar-host.c | 14 +- > drivers/pci/controller/pcie-rockchip.c | 34 ++--- > drivers/pci/controller/vmd.c | 2 +- > drivers/pci/doe.c | 4 +- > drivers/pci/endpoint/functions/pci-epf-mhi.c | 8 +- > drivers/pci/endpoint/functions/pci-epf-ntb.c | 2 +- > drivers/pci/endpoint/functions/pci-epf-test.c | 4 +- > drivers/pci/endpoint/functions/pci-epf-vntb.c | 2 +- > drivers/pci/endpoint/pci-ep-cfs.c | 12 +- > drivers/pci/endpoint/pci-epf-core.c | 16 +-- > drivers/pci/hotplug/acpiphp_core.c | 2 +- > drivers/pci/hotplug/pciehp_core.c | 8 +- > drivers/pci/hotplug/shpchp_core.c | 4 +- > drivers/pci/of.c | 6 +- > drivers/pci/pci-driver.c | 4 +- > drivers/pci/pcie/dpc.c | 4 +- > drivers/pci/quirks.c | 2 +- > drivers/pci/setup-bus.c | 2 +- > drivers/pci/slot.c | 4 +- > drivers/pci/vgaarb.c | 2 +- > 37 files changed, 227 insertions(+), 227 deletions(-) > [...] Regards, Siddharth.