From patchwork Mon Jul 15 23:36:30 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2827769 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 7E8129F9CA for ; Mon, 15 Jul 2013 23:36:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F4BA201EA for ; Mon, 15 Jul 2013 23:36:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BF812201D1 for ; Mon, 15 Jul 2013 23:36:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757777Ab3GOXgd (ORCPT ); Mon, 15 Jul 2013 19:36:33 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:53973 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757532Ab3GOXgc (ORCPT ); Mon, 15 Jul 2013 19:36:32 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MQ000A4U48QAU00@mailout1.samsung.com>; Tue, 16 Jul 2013 08:36:30 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.47]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id B3.61.11618.E7784E15; Tue, 16 Jul 2013 08:36:30 +0900 (KST) X-AuditID: cbfee691-b7fef6d000002d62-26-51e4877e88b5 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id BD.92.03947.E7784E15; Tue, 16 Jul 2013 08:36:30 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MQ000DLH48UVR20@mmp2.samsung.com>; Tue, 16 Jul 2013 08:36:30 +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 V3 1/2] spi: s3c64xx: fix printk warnings Date: Tue, 16 Jul 2013 08:36:30 +0900 Message-id: <002f01ce81b4$21f231a0$65d694e0$@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: Ac6BtB6HweL89yeiTOuXT+yllQrOXw== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDIsWRmVeSWpSXmKPExsVy+t8zfd269ieBBt9WqVtMffiEzeLywkus FrPvP2axmHF+H5NF48eb7A6sHptWdbJ5fFl1jdmjb8sqRo/Pm+QCWKK4bFJSczLLUov07RK4 Mhac2sta8IazYtXpZywNjEs5uhg5OSQETCT2rPzDDGGLSVy4t56ti5GLQ0hgGaNE85cPLDBF 51ddYYZITGeUmHZ2BiOE84tR4tnqPewgVWwCahJfvhwGsjk4RARUJf6/cgepYRZoZ5Q4sGc6 2CRhAUuJZ29uga1jAarp3t/BBGLzAsV33dzADGELSvyYfA+snllAS2L9zuNMELa8xOY1b6FO VZDYcfY1I4gtIqAn0TlhFRtEjYjEvhfvwI6TENjFLvGvZSIrxDIBiW+TD7GAHCchICux6QDU HEmJgytusExgFJuFZPUsJKtnIVk9C8mKBYwsqxhFUwuSC4qT0otM9YoTc4tL89L1kvNzNzFC Ym7iDsb7B6wPMSYDrZ/ILCWanA+M2bySeENjMyMLUxNTYyNzSzPShJXEedVbrAOFBNITS1Kz U1MLUovii0pzU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PW/cryE4aH/cI+eHCv v7B/pRJLcUaioRZzUXEiAA1pATQsAwAA 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 v2: 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);