From patchwork Mon Jul 15 23:53:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2827798 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D05B2C0AB2 for ; Mon, 15 Jul 2013 23:53:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9D6E201C0 for ; Mon, 15 Jul 2013 23:53:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 041A5201C2 for ; Mon, 15 Jul 2013 23:53:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758415Ab3GOXxg (ORCPT ); Mon, 15 Jul 2013 19:53:36 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:45730 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758389Ab3GOXxf (ORCPT ); Mon, 15 Jul 2013 19:53:35 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQ000GCJ5152950@mailout3.samsung.com>; Tue, 16 Jul 2013 08:53:33 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.50]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id B2.6A.08825.D7B84E15; Tue, 16 Jul 2013 08:53:33 +0900 (KST) X-AuditID: cbfee68e-b7f276d000002279-c5-51e48b7dce66 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id CC.06.03947.D7B84E15; Tue, 16 Jul 2013 08:53:33 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQ000A2F519DQ10@mmp1.samsung.com>; Tue, 16 Jul 2013 08:53:33 +0900 (KST) From: Jingoo Han To: 'Mark Brown' Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, 'Joe Perches' , 'Jingoo Han' Subject: [PATCH V4 1/2] spi: s3c64xx: fix printk warnings Date: Tue, 16 Jul 2013 08:53:33 +0900 Message-id: <003301ce81b6$83b19f50$8b14ddf0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac6Btno9Xm4JH9N1SdCAvfm78O4ByQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrJIsWRmVeSWpSXmKPExsVy+t8zI93a7ieBBnP3qFpMffiEzeLywkus FrPvP2axmHF+H5NF48eb7A6sHptWdbJ5fFl1jdmjb8sqRo/Pm+QCWKK4bFJSczLLUov07RK4 Mh59TSp4w1mx8v0ktgbGpRxdjJwcEgImEos6vzNB2GISF+6tZ+ti5OIQEljGKHHiw1PWLkYO sKJ1c4pAaoQEFjFK7DjvAFHzi1Hi1cv7zCAJNgE1iS9fDrOD1IsIqEr8f+UOUsMs0M4ocWDP dBaQGmEBS4l1q/6ygdgsQDWPLj8B6+UFit+68JMFwhaU+DH5HpjNLKAlsX7ncSYIW15i85q3 zBCHKkjsOPuaEcQWEdCTuHliFxtEjYjEvhfvGEEWSwjsYpe4dOkdO8QyAYlvkw+xQDwjK7Hp ANQcSYmDK26wTGAUm4Vk9Swkq2chWT0LyYoFjCyrGEVTC5ILipPSi4z0ihNzi0vz0vWS83M3 MUKirW8H480D1ocYk4HWT2SWEk3OB0ZrXkm8obGZkYWpiamxkbmlGW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mv+FFz0NnhMNsvH9bg3CcqN+e4ur5xtM4IzIw3yhdYqOLY1z9tDkNhGU/cqkzOSTvuPPT+ v/GXEktxRqKhFnNRcSIA9yOUTSkDAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fix the following build warnings when LPAE is enabled: drivers/spi/spi-s3c64xx.c:1466:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat] drivers/spi/spi-s3c64xx.c:1466:2: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'resource_size_t' [-Wformat] Use vsprintf extension %pR to format resource. Signed-off-by: Jingoo Han --- No Changes since v3: drivers/spi/spi-s3c64xx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index eb53df2..21ba0a0 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c @@ -1461,8 +1461,8 @@ static int s3c64xx_spi_probe(struct platform_device *pdev) dev_dbg(&pdev->dev, "Samsung SoC SPI Driver loaded for Bus SPI-%d with %d Slaves attached\n", sdd->port_id, master->num_chipselect); - dev_dbg(&pdev->dev, "\tIOmem=[0x%x-0x%x]\tDMA=[Rx-%d, Tx-%d]\n", - mem_res->end, mem_res->start, + dev_dbg(&pdev->dev, "\tIOmem=[%pR]\tDMA=[Rx-%d, Tx-%d]\n", + mem_res, sdd->rx_dma.dmach, sdd->tx_dma.dmach); pm_runtime_enable(&pdev->dev);