lkml.org 
[lkml]   [2012]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH]iommu: Include linux/err.h
From
Date
On Fri, 2012-12-14 at 00:55 +0800, Wang YanQing wrote:
> The linux/iommu.h header uses ERR_PTR defined
> in linux/err.h but doesn't include it.
>
> Signed-off-by: Wang YanQing <udknight@gmail.com>
> ---
> include/linux/iommu.h | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Alex Williamson <alex.williamson@redhat.com>

> 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)





\
 
 \ /
  Last update: 2012-12-13 19:01    [W:0.100 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site