From patchwork Mon Jul 15 06:11:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2827304 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 5D54BC0AB2 for ; Mon, 15 Jul 2013 06:11:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B1A52012F for ; Mon, 15 Jul 2013 06:11:21 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 822B12012C for ; Mon, 15 Jul 2013 06:11:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753807Ab3GOGLT (ORCPT ); Mon, 15 Jul 2013 02:11:19 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:11179 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753911Ab3GOGLS (ORCPT ); Mon, 15 Jul 2013 02:11:18 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MPY00CNERS9T1P0@mailout1.samsung.com>; Mon, 15 Jul 2013 15:11:11 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id FB.FE.03969.F7293E15; Mon, 15 Jul 2013 15:11:11 +0900 (KST) X-AuditID: cbfee68f-b7f436d000000f81-30-51e3927f66ad Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 64.C3.03860.F7293E15; Mon, 15 Jul 2013 15:11:11 +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 <0MPY00AZARUNF500@mmp2.samsung.com>; Mon, 15 Jul 2013 15:11:11 +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 V2 1/2] spi: s3c64xx: fix printk warnings Date: Mon, 15 Jul 2013 15:11:11 +0900 Message-id: <000001ce8122$1ab3df70$501b9e50$@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: Ac6BIgRAUudtV+uhSc61ild+hphZ/g== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNIsWRmVeSWpSXmKPExsVy+t8zA936SY8DDeZ/NrOY+vAJm8XlhZdY LWbff8xiMeP8PiaLxo832R1YPTat6mTz+LLqGrNH35ZVjB6fN8kFsERx2aSk5mSWpRbp2yVw ZayauIS1YAJXxYUJp9kaGA9ydDFyckgImEh86NzECmGLSVy4t56ti5GLQ0hgGaNEU8tLNpii 1c/OMIPYQgLTGSVuPCiDKPrFKLFh1Ul2kASbgJrEly+HgWwODhEBVYn/r9xBapgF2hklDuyZ zgJSIyxgKdH76Q+YzQJUs/LYYSYQmxco/v7hSlYIW1Dix+R7YDXMAloS63ceZ4Kw5SU2r3nL DHGQgsSOs68ZQWwRAT2Je/13GSFqRCT2vXjHCLJYQmAXu8TKuTdYIZYJSHybfIgF5DgJAVmJ TQeg5khKHFxxg2UCo9gsJKtnIVk9C8nqWUhWLGBkWcUomlqQXFCclF5krFecmFtcmpeul5yf u4kREnH9OxjvHrA+xJgMtH4is5Rocj4wYvNK4g2NzYwsTE1MjY3MLc1IE1YS51VrsQ4UEkhP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XSH/hieSWCtvrc63a492WLNdS+0Nx XYxFSizFGYmGWsxFxYkAFHxV5ysDAAA= 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 --- Changes since v1: - Fixed typo of the commit to 'LPAE'. 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);