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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 16 May 2014 10:17:38 +0100
From:	Alan Cox <alan@...ux.intel.com>
To:	Octavian Purdila <octavian.purdila@...el.com>
Cc:	greg@...ah.com, linux-kernel@...r.kernel.org,
	fengguang.wu@...el.com, Jun Tian <jun.j.tian@...el.com>
Subject: Re: [PATCH staging-next] goldfish: pipe: fix warnings for 32bit
 builds

On Fri, 2014-05-16 at 08:24 +0300, Octavian Purdila wrote:
> drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd_status':
> drivers/platform/goldfish/goldfish_pipe.c:164:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>      writel((u32)(u64)pipe, dev->base + PIPE_REG_CHANNEL);
>                  ^
> drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_cmd':
> drivers/platform/goldfish/goldfish_pipe.c:180:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>      writel((u32)(u64)pipe, dev->base + PIPE_REG_CHANNEL);
>                  ^
> drivers/platform/goldfish/goldfish_pipe.c: In function 'goldfish_pipe_read_write':
> drivers/platform/goldfish/goldfish_pipe.c:337:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
>        writel((u32)(u64)pipe, dev->base + PIPE_REG_CHANNEL);
> 
> Reported-by: Fengguang Wu <fengguang.wu@...el.com>
> Cc: Jun Tian <jun.j.tian@...el.com>
> Cc: Alan Cox <alan@...ux.intel.com>
> Signed-off-by: Octavian Purdila <octavian.purdila@...el.com>

Thanks...

Both

Acked-by: Alan Cox <alan@...ux.intel.com>

--
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