diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-27 12:09:18 +0300 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-07-02 12:11:40 +0200 |
commit | 3775d4818d72081e2afa2aed2442a2b9ecfc5eab (patch) | |
tree | 41c458290c5eeb7ccad0357ad8bd5804b50c396b /lib | |
parent | 68ee6d22376411f8ec668413f1b632a34192a807 (diff) | |
download | linux-next-3775d4818d72081e2afa2aed2442a2b9ecfc5eab.tar.gz |
iommu/amd: fix type bug in flush code
write_file_bool() modifies 32 bits of data, so "amd_iommu_unmap_flush"
needs to be 32 bits as well or we'll corrupt memory. Fortunately it
looks like the data is aligned with a gap after the declaration so this
is harmless in production.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions