commit | c4121c650e5c798c852e981c245caa6713c0d99e | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Fri Aug 01 16:30:37 2014 +0200 |
committer | Tejun Heo <tj@kernel.org> | Fri Aug 01 11:18:53 2014 -0400 |
tree | 52699df151b2e2ca4702f23bd18e57c8bf569483 | |
parent | 724f24ee651c59aa3f42a8ea2d441cfac5015013 [diff] |
ata: libahci: Silence compiler warning on 64-bit 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 <treding@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>