Re: [PATCH] gpio:Fix build warning about void to integer cast in the function mmio_74xx_gpio_probe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jul 4, 2015 at 10:34 PM, Nicholas Krause <xerofoify@xxxxxxxxx> 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@xxxxxxxxx>

Patch applied with some tweaks to the long subject line.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux