Thread (2 messages) 2 messages, 2 authors, 2014-08-01

Re: [PATCH v2] ata: libahci: Silence compiler warning on 64-bit

From: Tejun Heo <tj@kernel.org>
Date: 2014-08-01 15:19:22
Also in: lkml

On Fri, Aug 01, 2014 at 04:30:37PM +0200, Thierry Reding wrote:
From: Thierry Reding <redacted>

Commit 725c7b570fda (ata: libahci_platform: move port_map parameters
into the AHCI structure) moves flags into the struct ahci_host_priv's
.flags field, which causes compiler warnings on 64-bit builds when that
value is cast to a void * pointer. Cast to an unsigned long so that the
subsequent cast to a pointer doesn't produce a warning.

Signed-off-by: Thierry Reding <redacted>
Applied to libata/for-3.17.

Thanks!

-- 
tejun
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help