From patchwork Mon Jul 15 05:34:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2827301 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 655C49F967 for ; Mon, 15 Jul 2013 05:34:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 594EB20117 for ; Mon, 15 Jul 2013 05:34:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6A9A02010E for ; Mon, 15 Jul 2013 05:34:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753329Ab3GOFep (ORCPT ); Mon, 15 Jul 2013 01:34:45 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:64037 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753249Ab3GOFeo (ORCPT ); Mon, 15 Jul 2013 01:34:44 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MPY003ETQ4TCFC0@mailout2.samsung.com>; Mon, 15 Jul 2013 14:34:43 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 2D.45.17404.2F983E15; Mon, 15 Jul 2013 14:34:42 +0900 (KST) X-AuditID: cbfee68d-b7f096d0000043fc-a6-51e389f26481 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id E2.02.03947.2F983E15; Mon, 15 Jul 2013 14:34:42 +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 <0MPY000Y4Q5UVU90@mmp1.samsung.com>; Mon, 15 Jul 2013 14:34:42 +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 1/2] spi: s3c64xx: fix printk warnings Date: Mon, 15 Jul 2013 14:34:42 +0900 Message-id: <005f01ce811d$01d4a1b0$057de510$@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: Ac6BHOIN+IgsNLIZQwaZelCNbJhLxw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNIsWRmVeSWpSXmKPExsVy+t8zA91PnY8DDfr3aFlMffiEzeLywkus FrPvP2axmHF+H5NF48eb7A6sHptWdbJ5fFl1jdmjb8sqRo/Pm+QCWKK4bFJSczLLUov07RK4 Mq79u89Y8IKz4vfa5SwNjEs5uhg5OSQETCQ+nvrMCmGLSVy4t56ti5GLQ0hgGaNE8931TF2M HGBFV19yQsQXMUo0zL/BDOH8YpTY/ug6G0g3m4CaxJcvh9lBGkQEVCX+v3IHqWEWaGeUOLBn OgtIjbCAmURLF0gNJwcLUM3BA5vANvMKWEocWvaRHcIWlPgx+R5YPbOAlsTmbU2sELa8xOY1 b5khLlWQ2HH2NSOILSKgJ9E6ZTFUjYjEvhfvGEEWSwgcYpf48OsA1DIBiW+TD7FAfCMrsekA 1BxJiYMrbrBMYBSbhWT1LCSrZyFZPQvJigWMLKsYRVMLkguKk9KLDPWKE3OLS/PS9ZLzczcx QiKudwfj7QPWhxiTgdZPZJYSTc4HRmxeSbyhsZmRhamJqbGRuaUZacJK4rxqLd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WcSYeC6nelbE/yK1cT3L3/kdN8UJhM9Xe 9Hdcd+c7Vl6lxFKckWioxVxUnAgAePkD2ysDAAA= 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 compiling module for 64 bit targets: 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 --- 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);