Message ID | 1432818224-17070-10-git-send-email-vaibhav.hiremath@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCMNZUWXYYORB55FTSVQKGQEQRFCBBI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AE471202A3 for <linaro@patches.linaro.org>; Thu, 28 May 2015 13:07:04 +0000 (UTC) Received: by lbcak1 with SMTP id ak1sf10422117lbc.2 for <linaro@patches.linaro.org>; Thu, 28 May 2015 06:07:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=8hrHaMQ1NXYklHR6cffxqse/E3YB59xwpjePA+mwlhI=; b=ibj7pqkMERpyLHWmuDOiP4madwrBVrKEObg9BeZR0lXQJxPXWoBtkFD5joy+z5+3BI cL8tRmhKKzOU/5xMhfZgKtfc3zGHM+T6nyNjEoJSvY+Ov8rys3QgU0JfnKbAUatbZa/F 6wrECfGYo9NbDNxkdKY5NXkPumsRNbYwFkfuqAt7p9NxlxmTmGuhDNp3Q2w2CWfKFG6F gKu80E3N3a86KZhscSwoB2iDO4jlI1UyHVs2psdUofWG7Jk9DfV/VBkRrODy3jy2yrQj aSaQDlkIZtKKTKfFOjtAf3qpH4QSxq+DM5A25pWVZUI20frPAkz88Voe05DL3BVK+iv8 B4eA== X-Gm-Message-State: ALoCoQlpSx48/DuzJO4wLz37YvbVvyWo/IFanSLminyXGgWzenEEny2z5ITRy0Z8bXVBjIyPaTn6 X-Received: by 10.152.184.73 with SMTP id es9mr2650445lac.4.1432818423703; Thu, 28 May 2015 06:07:03 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.37 with SMTP id w5ls174705laa.77.gmail; Thu, 28 May 2015 06:07:03 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr2681769lbc.72.1432818423554; Thu, 28 May 2015 06:07:03 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id lf11si1928359lac.24.2015.05.28.06.07.03 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 May 2015 06:07:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbcmx3 with SMTP id mx3so27801856lbc.1 for <patchwork-forward@linaro.org>; Thu, 28 May 2015 06:07:03 -0700 (PDT) X-Received: by 10.152.44.166 with SMTP id f6mr2725145lam.86.1432818423440; Thu, 28 May 2015 06:07:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1144587lbb; Thu, 28 May 2015 06:07:02 -0700 (PDT) X-Received: by 10.66.139.70 with SMTP id qw6mr5357892pab.112.1432818421533; Thu, 28 May 2015 06:07:01 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id em5si3485083pbb.256.2015.05.28.06.07.00; Thu, 28 May 2015 06:07:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-i2c-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753779AbbE1NHA (ORCPT <rfc822;vaibhav.hiremath@linaro.org> + 1 other); Thu, 28 May 2015 09:07:00 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:35959 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752113AbbE1NG7 (ORCPT <rfc822; linux-i2c@vger.kernel.org>); Thu, 28 May 2015 09:06:59 -0400 Received: by pdfh10 with SMTP id h10so41422128pdf.3 for <linux-i2c@vger.kernel.org>; Thu, 28 May 2015 06:06:59 -0700 (PDT) X-Received: by 10.70.134.35 with SMTP id ph3mr5255442pdb.91.1432818418995; Thu, 28 May 2015 06:06:58 -0700 (PDT) Received: from localhost.localdomain ([202.62.77.106]) by mx.google.com with ESMTPSA id dc5sm2392557pbc.53.2015.05.28.06.06.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 28 May 2015 06:06:57 -0700 (PDT) From: Vaibhav Hiremath <vaibhav.hiremath@linaro.org> To: linux-i2c@vger.kernel.org Cc: Wolfram Sang <wsa@the-dreams.de>, linux-arm-kernel@lists.infradead.org, Yipeng Yao <ypyao@marvell.com>, Vaibhav Hiremath <vaibhav.hiremath@linaro.org> Subject: [PATCH 09/12] i2c: pxa: Remove compile warnning in 64bit mode Date: Thu, 28 May 2015 18:33:41 +0530 Message-Id: <1432818224-17070-10-git-send-email-vaibhav.hiremath@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1432818224-17070-1-git-send-email-vaibhav.hiremath@linaro.org> References: <1432818224-17070-1-git-send-email-vaibhav.hiremath@linaro.org> Sender: linux-i2c-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-i2c@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: vaibhav.hiremath@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/i2c/busses/i2c-pxa.c b/drivers/i2c/busses/i2c-pxa.c index a3ac97c..cf6c383 100644 --- a/drivers/i2c/busses/i2c-pxa.c +++ b/drivers/i2c/busses/i2c-pxa.c @@ -1223,7 +1223,7 @@ static int i2c_pxa_probe_dt(struct platform_device *pdev, struct pxa_i2c *i2c, i2c->use_pio = 1; if (of_get_property(np, "mrvl,i2c-fast-mode", NULL)) i2c->fast_mode = 1; - *i2c_types = (u32)(of_id->data); + *i2c_types = (long)(of_id->data); if (of_device_is_compatible(np, "mrvl,mmp-twsi")) { ret = of_property_read_u32(np, "mrvl,i2c-ilcr", &i2c->ilcr);