From patchwork Fri Aug 9 04:12:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Niethe X-Patchwork-Id: 1144322 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 464X0C1fYgz9sN4 for ; Fri, 9 Aug 2019 14:12:59 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WG6ZH/KM"; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 464X0B4w5rzDqx2 for ; Fri, 9 Aug 2019 14:12:58 +1000 (AEST) X-Original-To: skiboot@lists.ozlabs.org Delivered-To: skiboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::444; helo=mail-pf1-x444.google.com; envelope-from=jniethe5@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WG6ZH/KM"; dkim-atps=neutral Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 464X004YjdzDqwg for ; Fri, 9 Aug 2019 14:12:48 +1000 (AEST) Received: by mail-pf1-x444.google.com with SMTP id c3so22168769pfa.13 for ; Thu, 08 Aug 2019 21:12:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ih2+ze3+oFiNaoyoRvsnOhyTRS4n/7N4sAvkAZXa4S0=; b=WG6ZH/KM2ikab9wrNbG7sizSkyCzffRnKaXmtNG0OOaZeqQuCQP3T3QFOpxwB2piDq 6MfbfajjHD85lq9e1mt3REVpcPljFSTd9JTlthWeS9HJJ9pM8XBrYOqWk4KmqQ4CeMH8 o6i3G4F06rqKFyqSfQwBLd/QgT7E5e/pxuL3r/UtOZ9yXPBgG4pd7HdgBmFIcRpJJccN L1E9eTC+uLjKNdmWg8936iv7r+t7Ql4AEupLHUEKCgEr/rivj0oUEpqq+jn7x6w8Mt+n RCjRgMpEkFdDr3oRA7uxevLsNGE3JIIK5449YjpjLQ9yec3IuDUEBcYIjr9DlqZx73N9 QOtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ih2+ze3+oFiNaoyoRvsnOhyTRS4n/7N4sAvkAZXa4S0=; b=JrqWYi+BndWK4pO5jtVFX+AtI2Pev+orlnoJugOSvmUeAGameL9J3efv66n0Rn953Q +eajNRubeL26ueKcb7KC9KPJBk7A4FopVh2C8joxtTp/UaqIHBqL24SqNQOvWUCL8vIK XZ1kvUAxbfhSMaiQtgSQF4KIO/I/giBiwF06wt5DwVgE5xHzm2k+Vb1CjwDhzVOLEeYs MojbDj2fxSSMpJYzG1YzWFaQJmFvDLm1WuZ7kx+kQAgZA6hZsdi30u6xELTq3C9Ig/sl x35oVOimJOgF1b3Wdtra2cwcSFwjYTaadtoiq+UyYaOyMwpNrIcf+dxygKTScwVAckfy vcnw== X-Gm-Message-State: APjAAAXHd0tJ6k4NaFPAbVg9WJcTa73LbpUgC7MATe0dH2t3GwMXtswP 8cszlS6bUIHjKpCIxWqrgF/HHoqTcgU= X-Google-Smtp-Source: APXvYqzfg87m1xdsjyQU7dpZv8lIitxzw16JEB7QGB3zxbv6jmo7EakDi4MAqCrRAX3Ua8IW/BrfGg== X-Received: by 2002:aa7:81ca:: with SMTP id c10mr19344377pfn.185.1565323964292; Thu, 08 Aug 2019 21:12:44 -0700 (PDT) Received: from pasglop.ozlabs.ibm.com ([122.99.82.10]) by smtp.gmail.com with ESMTPSA id c69sm9759855pje.6.2019.08.08.21.12.42 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 21:12:43 -0700 (PDT) From: Jordan Niethe To: skiboot@lists.ozlabs.org Date: Fri, 9 Aug 2019 14:12:17 +1000 Message-Id: <20190809041220.18245-1-jniethe5@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Skiboot] [PATCH 1/4] core/pci-dt-slots: Remove duplicate PCIDBG() definition X-BeenThere: skiboot@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list for skiboot development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: skiboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Skiboot" PCIDBG() is already defined in pci.h, which is included by pci-dt-slot.c. It should not be defined again so remove this definition. Signed-off-by: Jordan Niethe --- core/pci-dt-slot.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/pci-dt-slot.c b/core/pci-dt-slot.c index 5c44955bdb81..f0d22c3738e7 100644 --- a/core/pci-dt-slot.c +++ b/core/pci-dt-slot.c @@ -20,12 +20,6 @@ #undef pr_fmt #define pr_fmt(fmt) "DT-SLOT: " fmt -#define PCIDBG(_p, _bdfn, fmt, a...) \ - prlog(PR_DEBUG, "PHB#%04x:%02x:%02x.%x " fmt, \ - (_p)->opal_id, \ - ((_bdfn) >> 8) & 0xff, \ - ((_bdfn) >> 3) & 0x1f, (_bdfn) & 0x7, ## a) - struct dt_node *dt_slots; static struct dt_node *map_phb_to_slot(struct phb *phb)