From patchwork Sun Mar 17 00:06:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 10856133 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D945C6C2 for ; Sun, 17 Mar 2019 00:06:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA65C29C42 for ; Sun, 17 Mar 2019 00:06:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BEAA129C59; Sun, 17 Mar 2019 00:06:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FB3629C42 for ; Sun, 17 Mar 2019 00:06:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbfCQAG1 (ORCPT ); Sat, 16 Mar 2019 20:06:27 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54558 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726828AbfCQAG1 (ORCPT ); Sat, 16 Mar 2019 20:06:27 -0400 Received: by mail-wm1-f68.google.com with SMTP id f3so9799222wmj.4; Sat, 16 Mar 2019 17:06:25 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=p8Ma/WL1YXhBXsJzZ6ueZraNvQHOb8cz2XymL8hJEnU=; b=LjN2yV00LUw5e2LR9wgNBwIu7nxF2WX3/mb79Q7H+YOLExDYHdA+NEzh1Oa+irKk3C BVQ4BFLk2HGdKsqYT8qp6WdC3f8goRMsTwVO6LGjL94KqM8T0SnBUJaU+BmL2dWors7s +e/Gygt5lBnq0E+2609jar6fb0iwOmE3ZluJxllZwGQudeAUCh+Q+NXwbt+vu+1/8K4D Pbiua8860jJKF+4i9yU15Eua6v/E4Wgs3wfIv/Va5qpSehEYVLSxqMHiiRFcBaD01CkG Obb2lJsA5Ni7QXrSYHTuAGcNP9pCdqoSSDGjGmZNvn+wx9iwSy69sVtgd20CdcFrJm1J oy8Q== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=p8Ma/WL1YXhBXsJzZ6ueZraNvQHOb8cz2XymL8hJEnU=; b=bkmurKxH+CIuMsyHA9bQFLWKxJtTIPYczwr8+tfkgYkUUXu9x0XLfusZJyq7a1g/6g Lw/F/PpmUE1VpTD9r5FXp/0y4WVf5BvnpTPrDtOqjfcIa8CViaYegQux2X5sj79hLwkj PydmSu3A0JU7+PWl3P7KVuZTYwEhd/KM6WS3XhodD+muFKntiL5M3KpDJSMElUJJ7etM yhB34SVDyo40yVLrnZjJBsPMa2jUg/tk4vkEtZVgTqBROqElubpvRFUyaQE06Dwwup+g 0qrr+mMvHtIcpWuyqVcuyQwEor9pxAymZrAm2Rdkt1epYsGPPRQMkWyeTCA7N5QXQxOt XYJw== X-Gm-Message-State: APjAAAV759azZcphEKnMCglh0kgzrCuKbC797ABG9M0kxVY940AmCzAD W0biG8h60PcXBtra8iGH45s6Kf7i X-Google-Smtp-Source: APXvYqwKZOOlC5wR0luK4syF4t+BoHwa6QEq0sOi6oyRHPUtp/5EJhsp/SAZggvzYWayTjH0Ontq+Q== X-Received: by 2002:a1c:dc0a:: with SMTP id t10mr6508499wmg.101.1552781184543; Sat, 16 Mar 2019 17:06:24 -0700 (PDT) Received: from kurokawa.lan (ip-86-49-110-70.net.upcbroadband.cz. [86.49.110.70]) by smtp.gmail.com with ESMTPSA id b3sm6759016wrx.57.2019.03.16.17.06.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Mar 2019 17:06:23 -0700 (PDT) From: marek.vasut@gmail.com To: linux-pci@vger.kernel.org Cc: Marek Vasut , Geert Uytterhoeven , Phil Edworthy , Simon Horman , Wolfram Sang , linux-renesas-soc@vger.kernel.org Subject: [PATCH 3/3] PCI: rcar: Clean up debug messages Date: Sun, 17 Mar 2019 01:06:08 +0100 Message-Id: <20190317000608.24881-3-marek.vasut@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190317000608.24881-1-marek.vasut@gmail.com> References: <20190317000608.24881-1-marek.vasut@gmail.com> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Marek Vasut Drop useless casts from debug messages, they are no longer needed due to the data type cleanup. Signed-off-by: Marek Vasut Cc: Geert Uytterhoeven Cc: Phil Edworthy Cc: Simon Horman Cc: Wolfram Sang Cc: linux-renesas-soc@vger.kernel.org To: linux-pci@vger.kernel.org Reviewed-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- drivers/pci/controller/pcie-rcar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/controller/pcie-rcar.c b/drivers/pci/controller/pcie-rcar.c index 801925a136ae..2a012654686e 100644 --- a/drivers/pci/controller/pcie-rcar.c +++ b/drivers/pci/controller/pcie-rcar.c @@ -283,8 +283,8 @@ static int rcar_pcie_read_conf(struct pci_bus *bus, unsigned int devfn, else if (size == 2) *val = (*val >> (8 * (where & 2))) & 0xffff; - dev_dbg(&bus->dev, "pcie-config-read: bus=%3d devfn=0x%04x where=0x%04x size=%d val=0x%08lx\n", - bus->number, devfn, where, size, (unsigned long)*val); + dev_dbg(&bus->dev, "pcie-config-read: bus=%3d devfn=0x%04x where=0x%04x size=%d val=0x%08x\n", + bus->number, devfn, where, size, *val); return ret; } @@ -302,8 +302,8 @@ static int rcar_pcie_write_conf(struct pci_bus *bus, unsigned int devfn, if (ret != PCIBIOS_SUCCESSFUL) return ret; - dev_dbg(&bus->dev, "pcie-config-write: bus=%3d devfn=0x%04x where=0x%04x size=%d val=0x%08lx\n", - bus->number, devfn, where, size, (unsigned long)val); + dev_dbg(&bus->dev, "pcie-config-write: bus=%3d devfn=0x%04x where=0x%04x size=%d val=0x%08x\n", + bus->number, devfn, where, size, val); if (size == 1) { shift = 8 * (where & 3);