lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CACRpkdbj61+XoTCambLEGG=PNdkunvqnmRpV1VKi5pX1ouPzGw@mail.gmail.com>
Date:	Thu, 16 Jul 2015 14:00:24 +0200
From:	Linus Walleij <linus.walleij@...aro.org>
To:	Nicholas Krause <xerofoify@...il.com>
Cc:	Alexandre Courbot <gnurou@...il.com>,
	"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] gpio:Fix build warning about void to integer cast in the
 function mmio_74xx_gpio_probe

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

Patch applied with some tweaks to the long subject line.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ