Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp158692imm; Tue, 31 Jul 2018 15:51:15 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdtZU7CZVuEBB2t5Sxbumjdv2LD0B4Hs3jRW+Q8mLohpmquxnYFNBo1x9RigEkJo6krfMbv X-Received: by 2002:a17:902:163:: with SMTP id 90-v6mr22135687plb.322.1533077475496; Tue, 31 Jul 2018 15:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533077475; cv=none; d=google.com; s=arc-20160816; b=z+0zLKDFXtEkdDFbqAi/6C738u9doomFo/NVOVycRDttzC7TyHxTtGdy2BrH6jJyoe rpE+iIfUobDDj7zDqFsTxY4xwDivmCJzBv1+Et3lUQ516+rB9wc6WijZhzDlEz5uF2Rl sx3zOkCEOSzWeOQkGX3XcTpF+3DiH25bhHZhGMsSeJlejxuInMbDxcpyr5M88l3LQ1cx FY7nisndg0ZFhsSYiv43WwBuD/cVGuwoya8Gqx9EqIkrCcbvMdpQywpj9BgOO6ATCeCm 4ym24W3wVf2ZFIx9CSrT1f+ZfKS4tmGs8P6bWMjOneXSdvbWRIIr2mhEU7HzCM9XZg0/ 4mlg== 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:message-id:date:cc:to:from:subject:dkim-signature :arc-authentication-results; bh=AdyanMnrQWttzGF0VPLmQMuvQX+vgth5SPSerTbckQ0=; b=W66jGDCqVj4P2SO1/WTnG+/e5Tp64EAksijgYs2k0L7bJmlIjQj/VKHy6DsnC1jMrA MvldUEyuNsEiSYd5ZdNEpg8AgdG2qMmlerqp6Kf0Nk2naD+gGxaPVZFK42edCK14Ybl7 eSYqWwvjPjCcL2fYi7nl6Cl/FyX5PlN2VP5bAv6fvPlzMk7uE7Gy6K2GzEMBWwN5EbCd opXdNQfhEDJuuLfE1csSYZlS5SOV9/faypxaiLd2ZWn6/IdTK9asGh/5yEJn8DQb4kQD KQ4bc4AIpBHyOIwawQr6w1VjnYjtbo8fn9OiJo/03l+9jWEDWxE8ipSmBI3Eg1Da7jvj Q4lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="MElyhB/o"; 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 d5-v6si13744886pla.337.2018.07.31.15.51.00; Tue, 31 Jul 2018 15:51:15 -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="MElyhB/o"; 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 S1732729AbeHAAcp (ORCPT + 99 others); Tue, 31 Jul 2018 20:32:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:40166 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731637AbeHAAcp (ORCPT ); Tue, 31 Jul 2018 20:32:45 -0400 Received: from localhost (unknown [69.71.4.100]) (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 D78382083F; Tue, 31 Jul 2018 22:50:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1533077412; bh=Ag9J46CAGiJc9uu7m6Ypm5lHYJ4JCw9TrXDltjWula0=; h=Subject:From:To:Cc:Date:From; b=MElyhB/oqb/Pd3STg0OfN0zgir97E4Z+KDRcd2b1OXr+ZhEFJPlc4xa/NXw5mqbw4 xPuBOgvOD8D56Rbi9sgLoq0qDmr35xjtV+gF9r3aQRJvyQeEyewM9Nzpo5xEf/m9YW u+Ag5AmYY88WhzrJHF0DQNzltWfYQO1IA59AZgqE= Subject: [PATCH] PCI/AER: Remove duplicate PCI_EXP_AER_FLAGS definition From: Bjorn Helgaas To: linux-pci@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Oza Pawandeep , Rajat Jain Date: Tue, 31 Jul 2018 17:50:10 -0500 Message-ID: <153307741056.12895.16173953885240310937.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 PCI_EXP_AER_FLAGS was defined twice (with identical definitions), once under #ifdef CONFIG_ACPI_APEI, and again at the top level. This looks like my merge error from these commits: fd3362cb73de ("PCI/AER: Squash aerdrv_core.c into aerdrv.c") 41cbc9eb1a82 ("PCI/AER: Squash ecrc.c into aerdrv.c") Remove the duplicate PCI_EXP_AER_FLAGS definition. Fixes: 41cbc9eb1a82 ("PCI/AER: Squash ecrc.c into aerdrv.c") Signed-off-by: Bjorn Helgaas --- drivers/pci/pcie/aer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/pcie/aer.c b/drivers/pci/pcie/aer.c index 2b344c9e2d46..c6cc855bfa22 100644 --- a/drivers/pci/pcie/aer.c +++ b/drivers/pci/pcie/aer.c @@ -329,8 +329,6 @@ int pcie_aer_get_firmware_first(struct pci_dev *dev) aer_set_firmware_first(dev); return dev->__aer_firmware_first; } -#define PCI_EXP_AER_FLAGS (PCI_EXP_DEVCTL_CERE | PCI_EXP_DEVCTL_NFERE | \ - PCI_EXP_DEVCTL_FERE | PCI_EXP_DEVCTL_URRE) static bool aer_firmware_first;