diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-06-27 11:08:55 +0200 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-07-02 12:11:40 +0200 |
commit | 68ee6d22376411f8ec668413f1b632a34192a807 (patch) | |
tree | 04d58831702e693d69702787fbe8538499086bd0 /drivers/ata/pata_cs5536.c | |
parent | iommu/tegra: smmu: Fix unsleepable memory allocation (diff) | |
download | linux-68ee6d22376411f8ec668413f1b632a34192a807.tar.xz linux-68ee6d22376411f8ec668413f1b632a34192a807.zip |
dma-debug: debugfs_create_bool() takes a u32 pointer
Even though it has "bool" in the name, you have pass a u32 pointer to
debugfs_create_bool(). Otherwise you get memory corruption in
write_file_bool(). Fortunately in this case the corruption happens in
an alignment hole between variables so it doesn't cause any problems.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/ata/pata_cs5536.c')
0 files changed, 0 insertions, 0 deletions