Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4735108imm; Wed, 30 May 2018 10:55:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIUvxB+pZLwzLlMpeYRZ6xcoJurER4PMUWpWO3GHc2FTsQiBrglR4RGU9tFWQJYf6Lc/FUm X-Received: by 2002:a63:7209:: with SMTP id n9-v6mr3001132pgc.146.1527702931228; Wed, 30 May 2018 10:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527702931; cv=none; d=google.com; s=arc-20160816; b=Jkz/LjPWYRThL7HsjBXAeruy1VaRTq17Dj9EKB/iJG66h1NL4C9ZjmnPtrGybhewDl YELc6sUmxo3F+B8EtvXSJT6hSLGIGmwy3C8i9OVp3+LAYaSA52H90OOT8hXXT7lb5M+M IFG0CtV6JYqZX8JJ/yL3edwmHGO3tzlCep9yCk01fY4Miq2kNa0h9V98BqtZQKLzJWXB TLvaZYVaSALdglcyhkktkOsx0VnkIDjiOVM8OBBOqSotGZeMlNf1tgsndZ0Qa6oJRGRP kQ4gRX7btVQPTnrzpnD/GC+WQfnufgMz4uVKPuafbeNcvrv+5Hp3LvIBAUECruGLKb97 MfxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject:dkim-signature:arc-authentication-results; bh=4X7qfQj5NNOon03FapIXhPIOJySRnYmgcXYNg316KYY=; b=SKU6R+dE6D3BrWX7Qd6h8erVvZGi+igtW8SavPFFFyi2Pp+qSXdzOwK1nnWuXAX8vI E8QkjcT0Z46BHthKbm9i4dLpG8LAgc91hehcErDB76dTNlcKE5Er/1kUER8GpNj6JunN 2jfOknWXzlug67sSRvYuYvhc0U/ePp43aJgHqWzwK5JUph19dV7LSkrwkRt6M0SlM736 9Cs/E6hm/5tC8EBzj9xH9jLxBxqb/hyNQKxDOhBRMjzKVcgtrkj8uDUiaBxgL2J5Dqbk p2q8rSc5fPA72yv+Y5eiMSqIxaEEoz4IAnvvL28qItSmhBraNvBp3g10ptLNv0vZg4Ob 4Glg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=whqw4de2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u12-v6si14502117plz.392.2018.05.30.10.55.16; Wed, 30 May 2018 10:55:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=whqw4de2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753964AbeE3Ryk (ORCPT + 99 others); Wed, 30 May 2018 13:54:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:43894 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753861AbeE3RyW (ORCPT ); Wed, 30 May 2018 13:54:22 -0400 Received: from localhost (unknown [104.133.8.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2162220843; Wed, 30 May 2018 17:54:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527702862; bh=VZRMpsAAuncCe0bm+mK4eUdq8UF+d5aaFRmt4/MZ5hc=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=whqw4de2Z8LTlXyBC4V3/haUeNhPVImPj8wDE5dNQ51NemBKigLtcgPrX90/Y6PP+ 3PPNuVy1TBFaCU7iw6ZdTiE1pLoosczUdEYi6d5HzdDvyGu5ZTuLhOtaeYsAdLMllD UWm7Bb/b8GU44xHBq+fvrpUWhGBCv41YEujF4sto= Subject: [PATCH v1 2/2] PCI/AER: Stop printing vendor/device ID From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: Oza Pawandeep , linux-kernel@vger.kernel.org Date: Wed, 30 May 2018 12:54:21 -0500 Message-ID: <152770286159.80701.8079550179741454699.stgit@bhelgaas-glaptop.roam.corp.google.com> In-Reply-To: <152770259826.80701.7360032106128917833.stgit@bhelgaas-glaptop.roam.corp.google.com> References: <152770259826.80701.7360032106128917833.stgit@bhelgaas-glaptop.roam.corp.google.com> User-Agent: StGit/0.18 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bjorn Helgaas The Vendor and Device ID of the root port that raised an AER interrupt is irrelevant and already available via normal enumeration dmesg logging or lspci. Remove the Vendor and Device ID from AER logging. Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/aer/aerdrv_errprint.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/pci/pcie/aer/aerdrv_errprint.c b/drivers/pci/pcie/aer/aerdrv_errprint.c index d7fde8368d81..16116844531c 100644 --- a/drivers/pci/pcie/aer/aerdrv_errprint.c +++ b/drivers/pci/pcie/aer/aerdrv_errprint.c @@ -175,9 +175,8 @@ void aer_print_error(struct pci_dev *dev, struct aer_err_info *info) aer_error_severity_string[info->severity], aer_error_layer[layer], aer_agent_string[agent]); - pci_err(dev, " device [%04x:%04x] error status/mask=%08x/%08x\n", - dev->vendor, dev->device, - info->status, info->mask); + pci_err(dev, " error status/mask=%08x/%08x\n", info->status, + info->mask); __aer_print_error(dev, info);