Re: [PATCH]iommu: Include linux/err.h

From: Alex Williamson
Date: Thu Dec 13 2012 - 12:15:30 EST


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@xxxxxxxxx>
> ---
> include/linux/iommu.h | 1 +
> 1 file changed, 1 insertion(+)

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

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



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/