Re: [PATCH]iommu: make return value consistence

2012-12-13 Thread Alex Williamson
On Fri, 2012-12-14 at 00:55 +0800, Wang YanQing wrote: > if we don't define CONFIG_IOMMU_API the > dummy functions alway return -ENODEV > or -EINVAL except three function, so convert > them to the same behavior to make consistence But if we do define CONFIG_IOMMU_API the actual functions return NU

[PATCH]iommu: make return value consistence

2012-12-13 Thread Wang YanQing
if we don't define CONFIG_IOMMU_API the dummy functions alway return -ENODEV or -EINVAL except three function, so convert them to the same behavior to make consistence Signed-off-by: Wang YanQing --- include/linux/iommu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/