From patchwork Fri Sep 5 05:14:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaehoon Chung X-Patchwork-Id: 4849711 Return-Path: X-Original-To: patchwork-linux-mmc@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 C79F0C0338 for ; Fri, 5 Sep 2014 05:15:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0CAFD20256 for ; Fri, 5 Sep 2014 05:15:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9C0D520268 for ; Fri, 5 Sep 2014 05:15:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751584AbaIEFPZ (ORCPT ); Fri, 5 Sep 2014 01:15:25 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:36812 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbaIEFPE (ORCPT ); Fri, 5 Sep 2014 01:15:04 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NBE00ID2X92CTD0@mailout4.samsung.com> for linux-mmc@vger.kernel.org; Fri, 05 Sep 2014 14:15:02 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.114]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id BC.00.04049.6D649045; Fri, 05 Sep 2014 14:15:02 +0900 (KST) X-AuditID: cbfee68e-f79536d000000fd1-2e-540946d64209 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id A1.C7.04943.6D649045; Fri, 05 Sep 2014 14:15:02 +0900 (KST) Received: from localhost.localdomain ([10.252.81.186]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NBE007OMX924670@mmp2.samsung.com>; Fri, 05 Sep 2014 14:15:02 +0900 (KST) From: Jaehoon Chung To: linux-mmc Cc: Chris Ball , Ulf Hansson , tgih.jun@samsung.com, Jaehoon Chung Subject: [PATCH 1/4] mmc: dw_mmc: modify the variable type Date: Fri, 05 Sep 2014 14:14:57 +0900 Message-id: <1409894100-4713-2-git-send-email-jh80.chung@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1409894100-4713-1-git-send-email-jh80.chung@samsung.com> References: <1409894100-4713-1-git-send-email-jh80.chung@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDLMWRmVeSWpSXmKPExsWyRsSkSPeaG2eIwY8JuhYTLm9ntLjxq43V 4sj/fkaLD/cvMlscXxvuwOpx59oeNo8brxYyefRtWcXo8XmTXABLFJdNSmpOZllqkb5dAlfG m2vXWQs+8FVMnXqPsYFxBk8XIyeHhICJxITL51ggbDGJC/fWs3UxcnEICSxllJjZsp0Jpmjb mRfMEInpjBK9Gy4zQThtTBLHWo+DtbMJ6Ehs/3YcrENEQFOic/tKsFHMAu2MEl0951lBEsIC VhLNW9aA2SwCqhLv3j9jB7F5BVwlGp5vAmrmAFqnIDFnkg1ImFPATeLRly1sILYQUMnlSXtY QGZKCDSzS8x59xhqjoDEt8mHWCB6ZSU2HWCGuFpS4uCKGywTGIUXMDKsYhRNLUguKE5KLzLS K07MLS7NS9dLzs/dxAgM5NP/nvXtYLx5wPoQowAHoxIP74LPHCFCrIllxZW5hxhNgTZMZJYS Tc4HxkteSbyhsZmRhamJqbGRuaWZkjhvgtTPYCGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2M DUnFJ57PvJY1b++1hLL2l9bajz3//km9HH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: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-8.6 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 Fixed wrong variable type. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc-exynos.c | 2 +- drivers/mmc/host/dw_mmc.c | 2 +- drivers/mmc/host/dw_mmc.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/dw_mmc-exynos.c b/drivers/mmc/host/dw_mmc-exynos.c index 0fbc53a..aee39bc 100644 --- a/drivers/mmc/host/dw_mmc-exynos.c +++ b/drivers/mmc/host/dw_mmc-exynos.c @@ -385,7 +385,7 @@ static int dw_mci_exynos_execute_tuning(struct dw_mci_slot *slot, u32 opcode, } /* Common capabilities of Exynos4/Exynos5 SoC */ -static unsigned long exynos_dwmmc_caps[4] = { +static unsigned int exynos_dwmmc_caps[4] = { MMC_CAP_1_8V_DDR | MMC_CAP_8_BIT_DATA | MMC_CAP_CMD23, MMC_CAP_CMD23, MMC_CAP_CMD23, diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 835e913..b8e0ca8 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -2202,7 +2202,7 @@ static struct dw_mci_of_slot_quirks { static int dw_mci_of_get_slot_quirks(struct device *dev, u8 slot) { struct device_node *np = dw_mci_of_find_slot_node(dev, slot); - int quirks = 0; + unsigned int quirks = 0; int idx; /* get quirks */ diff --git a/drivers/mmc/host/dw_mmc.h b/drivers/mmc/host/dw_mmc.h index 01b99e8..4096f2b 100644 --- a/drivers/mmc/host/dw_mmc.h +++ b/drivers/mmc/host/dw_mmc.h @@ -220,7 +220,7 @@ struct dw_mci_slot { struct mmc_host *mmc; struct dw_mci *host; - int quirks; + unsigned int quirks; u32 ctype; @@ -257,7 +257,7 @@ struct dw_mci_tuning_data { * is optional as well. */ struct dw_mci_drv_data { - unsigned long *caps; + unsigned int *caps; int (*init)(struct dw_mci *host); int (*setup_clock)(struct dw_mci *host); void (*prepare_command)(struct dw_mci *host, u32 *cmdr);