Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbbKQOe4 (ORCPT ); Tue, 17 Nov 2015 09:34:56 -0500 Received: from mail-ob0-f173.google.com ([209.85.214.173]:33319 "EHLO mail-ob0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753766AbbKQOex convert rfc822-to-8bit (ORCPT ); Tue, 17 Nov 2015 09:34:53 -0500 MIME-Version: 1.0 In-Reply-To: <5235862.Gokjxf5QH1@wuerfel> References: <5235862.Gokjxf5QH1@wuerfel> Date: Tue, 17 Nov 2015 15:34:52 +0100 Message-ID: Subject: Re: [PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation From: Linus Walleij To: Arnd Bergmann Cc: Bjorn Andersson , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Srinivas Kandagatla , Kumar Gala , Andy Gross , David Brown , "linux-arm-msm@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1075 Lines: 24 On Mon, Nov 16, 2015 at 5:41 PM, Arnd Bergmann wrote: > When building pinctrl-ssbi-gpio and pinctrl-ssbi-mpp for ARM64, we get > a compile warning about invalid types: > > drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c: In function 'pm8xxx_gpio_probe': > drivers/pinctrl/qcom/pinctrl-ssbi-gpio.c:675:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c: In function 'pm8xxx_mpp_probe': > drivers/pinctrl/qcom/pinctrl-ssbi-mpp.c:766:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] > > This changes the code so we cast the pointer to 'unsigned long', which > is the right thing to do here. > > Signed-off-by: Arnd Bergmann Patch applied for fixes with Björn's review tag. Yours, Linus Walleij -- 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/