Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270450

Re: [PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation

From Bjorn Andersson <bjorn.andersson@sonymobile.com>
Newsgroups linux.kernel
Subject Re: [PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation
Date 2015-11-16 19:30 +0100
Message-ID <qvwHp-2mv-31@gated-at.bofh.it> (permalink)
References <qvv8C-1ij-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon 16 Nov 08:41 PST 2015, 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 <arnd@arndb.de>
> 

Thanks Arnd,

Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>

Regards,
Bjorn
--
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/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation Arnd Bergmann <arnd@arndb.de> - 2015-11-16 17:50 +0100
  Re: [PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-11-16 19:30 +0100
  Re: [PATCH] pinctrl: fix qcom ssbi drivers for 64-bit compilation Linus Walleij <linus.walleij@linaro.org> - 2015-11-17 15:40 +0100

csiph-web