[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130419013804.GA7552@udknight>
Date: Fri, 19 Apr 2013 09:38:04 +0800
From: Wang YanQing <udknight@...il.com>
To: dwmw2@...radead.org
Cc: linux-kernel@...r.kernel.org, joro@...tes.org,
alex.williamson@...hat.com
Subject: [PATCH] iommu: Include linux/err.h
The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.
Cc:joro@...tes.org
Reviewed-by: Alex Williamson <alex.williamson@...hat.com>
Signed-off-by: Wang YanQing <udknight@...il.com>
---
This patch has been in LKML for more than 2 months,
I even forget it, but the compile error when I compile
a kernel module for 3.8.8 failed due without CONFIG_IOMMU_API
in my .config remind me.
I really hope someone accept it.
Thanks.
include/linux/iommu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/iommu.h b/include/linux/iommu.h
index f3b99e1..f4a49a6 100644
--- a/include/linux/iommu.h
+++ b/include/linux/iommu.h
@@ -20,6 +20,7 @@
#define __LINUX_IOMMU_H
#include <linux/errno.h>
+#include <linux/err.h>
#include <linux/types.h>
#define IOMMU_READ (1)
--
1.7.12.4.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists