Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932372AbbGJNB7 (ORCPT ); Fri, 10 Jul 2015 09:01:59 -0400 Received: from mail-pd0-f171.google.com ([209.85.192.171]:35566 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932228AbbGJNBz (ORCPT ); Fri, 10 Jul 2015 09:01:55 -0400 Message-ID: <559FC23C.1040400@linaro.org> Date: Fri, 10 Jul 2015 18:31:48 +0530 From: Vaibhav Hiremath User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Wolfram Sang CC: linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robert.jarzmik@free.fr, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, Yipeng Yao Subject: Re: [PATCH-v3 04/11] i2c: pxa: Remove compile warnning in 64bit mode References: <1436210695-19159-1-git-send-email-vaibhav.hiremath@linaro.org> <1436210695-19159-5-git-send-email-vaibhav.hiremath@linaro.org> <20150710081327.GC1528@katana> In-Reply-To: <20150710081327.GC1528@katana> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1098 Lines: 34 On Friday 10 July 2015 01:43 PM, Wolfram Sang wrote: > On Tue, Jul 07, 2015 at 12:54:48AM +0530, Vaibhav Hiremath wrote: >> From: Yipeng Yao >> >> Fix below warning message, coming from 64 bit toolchain. >> >> drivers/i2c/busses/i2c-pxa.c:1237:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] >> >> Signed-off-by: Yipeng Yao >> [vaibhav.hiremath@linaro.org: Updated Changelog] >> Signed-off-by: Vaibhav Hiremath >> Cc: Wolfram Sang >> Acked-by: Robert Jarzmik > > Huh? Why long? Shouldn't that be casted to enum pxa_i2c_types? > My bad. Indeed it can be (and should be) enum pxa_i2c_types. Will wait to close on the discussion on slave mode patch PATCH [02/11] before pushing V4. Thanks, Vaibhav -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/