iommu/omap: Use the correct type for SLAB_HWCACHE_ALIGN
authorSuman Anna <s-anna@ti.com>
Fri, 16 Aug 2019 22:58:37 +0000 (17:58 -0500)
committerJoerg Roedel <jroedel@suse.de>
Mon, 19 Aug 2019 13:07:22 +0000 (15:07 +0200)
commit24ce0bab260b59964629bb4d9570f0548b89e490
tree94602c0a3e83e06343a25655f6ddcc7eda29f553
parent73499ad21d595638213f2a5f8b9b58259fa0cae2
iommu/omap: Use the correct type for SLAB_HWCACHE_ALIGN

The macro SLAB_HWCACHE_ALIGN is of type slab_flags_t, but is currently
assigned in the OMAP IOMMU driver using a unsigned long variable. This
generates a sparse warning around the type check. Fix this by defining
the variable flags using the correct type.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.c