Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp574695lqr; Wed, 5 Jun 2024 14:38:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVYaKXErSrSC5/e4PFkdJv/jGVA4R9yKM89Pa4OhvHbrYb5MGwFOmoZRI7JQyOG/7K7rDpA5fl+CUblMthDubQMHm589O4/g5BSdtWJpQ== X-Google-Smtp-Source: AGHT+IHwW+tjrSyUM6FDGBZds1yy3N8omO8SEHsE1mRcez/v/h1J/9c6JRRpdPhqNogRtp1lqcP0 X-Received: by 2002:a17:90a:5984:b0:2c0:76b:f46c with SMTP id 98e67ed59e1d1-2c27db031f4mr3379623a91.3.1717623525019; Wed, 05 Jun 2024 14:38:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717623524; cv=pass; d=google.com; s=arc-20160816; b=0bloe8qK3anXVCkCfSzQoDRcaP1kk6jy0TtAwIe3k4a8SKsTQvGzY4edD6eBivx7lJ KL+xl8L9xDyYBxXcntbtOqe2BNNkAJ9iSXYpsX5TgN5t60LZQk+73fNJAKBtQbdwgPsl rT/xXMty8+po7TLO9LAdcFHcLX9PgLyQGjX4F8Fk6n3E4Eg/DL3j67PjtfAcOHVU9c8t prApBoe9t/ehEvVgcVjNDITHbaC+4dQcyzX3+IffnW0bn2D286hyh3JmbfLWZMJv+faI pKb+NhVwLSmChGBnv9lTJKS/26NSRM6CuiwCx5UenwOa4DDIztsG0wRwGl3fMz9o3dbd Bn2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=TEnxTETK0rFGl7veDAfyPrBbDGYeHk9u0SUVvr1yaQk=; fh=7I8EhwVKkZUaFjsmm/rqI8+4HbucOnUMZLZV5U53d3c=; b=v2/tFrfpNbFjC6Lpc2QPWoIxsc9oXLGnVqtNMQFdDiN9kaMFeSDPW9ECLqSYm/qdev 4yph35O02v/S8kONtTWxrckolrplcgENrt5IOK2QWIwwzvx5NEEFtpbz8bLd7b/pZRUp JKE9KxMXE/7BN9mpC0s4g/gSMBdZ3YE5Yd26W7ozuKbPFA5+8ykzqxdwESbT/d+YGT8x 2Z8+FUof1NJLtdUaDW+DjkiPHfmgFvbALsRNcUeeJ6YgZJShxyXmXGm6ufYj4DY4oG/l qmTxBZ0jD3dA0br4iNuSivrmtBmIHcFb96Si3UEgtCZltUobZ/tT06ICQKCroMTKJazg Sxrg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=klG6AWkd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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-2c28063352asi1872790a91.15.2024.06.05.14.38.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 14:38:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203292-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=@gmail.com header.s=20230601 header.b=klG6AWkd; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203292-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203292-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 ADA45286B96 for ; Wed, 5 Jun 2024 21:33:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73F0415FA8D; Wed, 5 Jun 2024 21:24:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="klG6AWkd" Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66D9619642A; Wed, 5 Jun 2024 21:24:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717622643; cv=none; b=jvs/mLrmoWMCA1eM1Jzat/uYPraM/Pdcmi78n7Mv/oKj0LaawsWWjbUpMJvPs/bR3JMMhLj3lBo34TKti8Zg9ynyZ8QuemQJ05Bm68N1pPtW79syOStO4AtCFMRWegN1QG9Sl3KeDY0IfkRI0GQL36GhgNDKD+GgmtfeT9fMmYo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717622643; c=relaxed/simple; bh=k0wEMVV2/kLderbs/W+38MVdsxNr9aKZ33ehYv423y8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tzrB0Rgd+L6WqfKjw9b+YAUnikNnHq30jWrx/7K8lwbRvwADtPs2RXazm3rRkW4jJzjRMcKeIRt8KLA2B1P4TB9MVKh1/9LIQy6c2WPe2ks6VZJ6VcC5wYoHrzfNEunJA76xQo1h0NgRSg0T7q9zYLbi/ZpQRruiSSc/PXOJLmA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=klG6AWkd; arc=none smtp.client-ip=209.85.215.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-6c53a315c6eso189599a12.3; Wed, 05 Jun 2024 14:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717622641; x=1718227441; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TEnxTETK0rFGl7veDAfyPrBbDGYeHk9u0SUVvr1yaQk=; b=klG6AWkdgNg0TZtXd/cVuaKUMaKmOy/qHLs+DF/pEQ1sZ1p73ATbtpLsEvx1mJzx2A ymkHqGXXAz7Yd1Qd3edEm3TMF9cYsbKllYZOyEfVXrx+e3zOf0ZdSiJ5Gw8IHKz7k+gP V/R5CTx1QudVFY+PpqiJZQprytQSVyTsympDSHhlb+w8NFB7Qiyxh6SWiwyxd/Vx2UrW trvcY6UClJrfj7TgUL79X3aq5AS+jgHdy1a4+ph2DeZOUk1ufr68bxMeqMARyf2VqiQH 1pE3AN5nKiOE2N2JXv538WXRrH1zLVp4WLsbE9BOxvWnOJaHtK6MNBL1h8R20miANkHz T20w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717622641; x=1718227441; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TEnxTETK0rFGl7veDAfyPrBbDGYeHk9u0SUVvr1yaQk=; b=vV0gyMNMuohioFiUukgX0W/q/q/4zMR27CYRctBTL7sM3u86g9q7VcV1gXYWWG9yaM nt4R6vZpw3pkZalRF/Y0EawAhb3UL9Yy+3x/a4N2rlPAHcdl5xHm3ErR7c3vwZdYaeLX a5dlE3anbGesB8k0VKfcwOP0PzqMVPweO0vzR2eENySINeQkkCeJPg/V7RupPNrsSb52 6rUxqeQ89vsgyoXS0D2tgpv2NFMbnwM56yuGcu9w0MVP49D5L73jTUUAsfXwZUYzoJkF JaQDsjZffIQhVRYwgQaGqJtMpj03sxGT0nKkTc/wScH2uj1vhBpjX7CzWgwwmTfsGdo4 yLvg== X-Forwarded-Encrypted: i=1; AJvYcCUeh6x3MnnPAI5H/Ydum76VQIN6wAYHiNAB15heWLemyrDKtXsD9ird6lYo2PFuZmb8SOaD0KCdCPrE6tnYr7MQVu5Z0uu4RepF0n4EHOUKOpM5KX9DLp8PXTAV25skp/faE1fuNs+2 X-Gm-Message-State: AOJu0YxZYx5jNZFt/LjNqaA0djnBJfztAx5VtHyJNs/H8JN6HyztxElH MfwIu3I0zH+AG8FBEYsgin7C4tj42upaXvs8gSzRk5j9/AoFTr9C X-Received: by 2002:a17:90b:391:b0:2c1:9e9d:b9b5 with SMTP id 98e67ed59e1d1-2c27db15708mr3898081a91.15.1717622639960; Wed, 05 Jun 2024 14:23:59 -0700 (PDT) Received: from dev0.. ([49.43.162.143]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c29c3884f8sm29370a91.37.2024.06.05.14.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 14:23:59 -0700 (PDT) From: Abhinav Jain To: jain.abhinav177@gmail.com Cc: bhelgaas@google.com, javier.carrasco.cruz@gmail.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, mahesh@linux.ibm.com, oohall@gmail.com, skhan@linuxfoundation.org Subject: [PATCH v2] PCI/AER: Print error message as per the TODO Date: Wed, 5 Jun 2024 21:23:44 +0000 Message-Id: <20240605212344.21808-1-jain.abhinav177@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240415161055.8316-1-jain.abhinav177@gmail.com> References: <20240415161055.8316-1-jain.abhinav177@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Print the add device error in find_device_iter() Signed-off-by: Abhinav Jain PATCH v1 link : https://lore.kernel.org/all/20240415161055.8316-1-jain.abhinav177@gmail.com/ Changes since v1: - Replaced pr_err() with pr_notice() - Removed unncessary whitespaces --- drivers/pci/pcie/aer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c index 0e1ad2998116..8b820a74dd6b 100644 --- a/drivers/pci/pcie/aer.c +++ b/drivers/pci/pcie/aer.c @@ -885,8 +885,8 @@ static int find_device_iter(struct pci_dev *dev, void *data) /* List this device */ if (add_error_device(e_info, dev)) { /* We cannot handle more... Stop iteration */ - pr_err("find_device_iter: Cannot handle more devices. - Stopping iteration"); + pr_notice("%s: Cannot handle more devices - iteration stopped\n", + __func__); return 1; } -- 2.34.1