public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Wang YanQing <udknight@gmail.com>
To: torvalds@linux-foundation.org
Cc: linux-kernel@vger.kernel.org, alex.williamson@redhat.com,
	joerg.roedel@amd.com
Subject: [PATCH]iommu: Include linux/err.h
Date: Mon, 25 Feb 2013 22:48:06 +0800	[thread overview]
Message-ID: <20130225144806.GA25108@udknight> (raw)

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

             reply	other threads:[~2013-02-25 14:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25 14:48 Wang YanQing [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-04-19  1:38 [PATCH] iommu: Include linux/err.h Wang YanQing
2013-04-19 19:13 ` Joerg Roedel
2012-12-13 16:55 [PATCH]iommu: " 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=20130225144806.GA25108@udknight \
    --to=udknight@gmail.com \
    --cc=alex.williamson@redhat.com \
    --cc=joerg.roedel@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox