Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1208347
| From | Alexandre Courbot <gnurou@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] gpio:Fix build warning about void to integer cast in the function mmio_74xx_gpio_probe |
| Date | 2015-08-17 05:50 +0200 |
| Message-ID | <pYjAS-3Tk-1@gated-at.bofh.it> (permalink) |
| References | <pMQ9e-6cF-39@gated-at.bofh.it> <pMQ9e-6cF-37@gated-at.bofh.it> <pYjAS-3Tk-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Aug 14, 2015 at 2:45 AM, nick <xerofoify@gmail.com> wrote: > > > On 2015-07-16 08:00 AM, Linus Walleij wrote: >> On Sat, Jul 4, 2015 at 10:34 PM, Nicholas Krause <xerofoify@gmail.com> wrote: >> >>> This fixes the build warning , warning: cast from pointer to integer >>> of different size when building this file on a x86 allmodconfig >>> configuration. In order for me to fix this build warning I changed >>> the cast in the function mmio_74xx_gpio_probe from casting the >>> variable data of the stucture pointer of_id to uintptr_t rather >>> then unsigned when assigning to the variable flag of the structure >>> pointer priv of the structure type mmio_74xx_gpio_priv. >>> >>> >>> Signed-off-by: Nicholas Krause <xerofoify@gmail.com> >> >> Patch applied with some tweaks to the long subject line. >> >> Yours, >> Linus Walleij >> > > Linus, > After searching through your git tree for gpio subsystem I haven't found this patch merged > yet. Is there any reason for that or should I just resend. I can see this patch in both Linus' for-next branch (git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next), and linux-next. Always check linux-next first. -- 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 | Find similar | Unroll thread
Re: [PATCH] gpio:Fix build warning about void to integer cast in the function mmio_74xx_gpio_probe Alexandre Courbot <gnurou@gmail.com> - 2015-08-17 05:50 +0200
csiph-web