All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wang YanQing <udknight@gmail.com>
To: dwmw2@infradead.org
Cc: linux-kernel@vger.kernel.org, joro@8bytes.org,
	alex.williamson@redhat.com
Subject: [PATCH] iommu: Include linux/err.h
Date: Fri, 19 Apr 2013 09:38:04 +0800	[thread overview]
Message-ID: <20130419013804.GA7552@udknight> (raw)

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

Cc:joro@8bytes.org
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Wang YanQing <udknight@gmail.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

             reply	other threads:[~2013-04-19  1:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-19  1:38 Wang YanQing [this message]
2013-04-19 19:13 ` [PATCH] iommu: Include linux/err.h Joerg Roedel
  -- strict thread matches above, loose matches on Subject: below --
2013-02-25 14:48 [PATCH]iommu: " Wang YanQing
2012-12-13 16:55 Wang YanQing
2012-12-13 17:15 ` Alex Williamson
2013-01-15  1:09   ` Wang YanQing

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130419013804.GA7552@udknight \
    --to=udknight@gmail.com \
    --cc=alex.williamson@redhat.com \
    --cc=dwmw2@infradead.org \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.