iommu/amd: Cleanup error handling in do_fault()
authorJoerg Roedel <jroedel@suse.de>
Tue, 17 Nov 2015 15:11:38 +0000 (16:11 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 14 Dec 2015 14:39:41 +0000 (15:39 +0100)
commit492e74594ec6285207f9db02d41c41cad5dbc6ab
tree3c2a7542d152f9fae1c1771d79df2f8f9719195e
parent43c0ea20de4de8e2d753dff0e76129c4febafffa
iommu/amd: Cleanup error handling in do_fault()

Get rid of the three error paths that look the same and move
error handling to a single place.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Acked-By: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_v2.c