iommu/omap: Use WARN_ON for page table alignment check
authorSuman Anna <s-anna@ti.com>
Mon, 4 Apr 2016 22:46:20 +0000 (17:46 -0500)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 Apr 2016 15:53:20 +0000 (17:53 +0200)
commit433c434a269e6a39753f0a97b4be903f96d030a9
treedf095cd34a09c8512223f7cb18d7b63e850ab4a3
parent7c1ab60008755fc229b623a875f1e42de31cdb64
iommu/omap: Use WARN_ON for page table alignment check

The OMAP IOMMU page table needs to be aligned on a 16K boundary,
and the current code uses a BUG_ON on the alignment sanity check
in the .domain_alloc() ops implementation. Replace this with a
less severe WARN_ON and bail out gracefully.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.c
This page took 0.036505 seconds and 5 git commands to generate.