linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][TRIVIAL] iommu: Include linux/err.h
@ 2013-04-08  8:18 Wang YanQing
  0 siblings, 0 replies; only message in thread
From: Wang YanQing @ 2013-04-08  8:18 UTC (permalink / raw)
  To: jkosina; +Cc: linux-kernel, trivial, alex.williamson, joerg.roedel

The linux/iommu.h header uses ERR_PTR defined
in linux/err.h but doesn't include it.

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Wang YanQing <udknight@gmail.com>
---
 I send this twice to joerg.roedel@amd.com more than one
 month, but it had been ignored, I don't why.

 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.11.1.116.g8228a23

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-08  8:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-08  8:18 [PATCH][TRIVIAL] iommu: Include linux/err.h Wang YanQing

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).