summaryrefslogtreecommitdiffstats
path: root/net/ncsi
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-01-02 16:29:45 +0100
committerJoerg Roedel <jroedel@suse.de>2018-01-17 14:23:33 +0100
commitf18affbea8f7aebb235bfdaf3ad4c307aa5f3d64 (patch)
tree28fc08e45297b959c2395ed008ff2f840b1bd36b /net/ncsi
parenta8750ddca918032d6349adbf9a4b6555e7db20da (diff)
downloadlinux-f18affbea8f7aebb235bfdaf3ad4c307aa5f3d64.tar.bz2
iommu/omap: Fix debugfs_create_*() usage
When exposing data access through debugfs, the correct debugfs_create_*() functions must be used, depending on data type. Remove all casts from data pointers passed to debugfs_create_*() functions, as such casts prevent the compiler from flagging bugs. omap_iommu.nr_tlb_entries is "int", hence casting to "u8 *" exposes only a part of it. Fix this by using debugfs_create_u32() instead. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'net/ncsi')
0 files changed, 0 insertions, 0 deletions