[openib-general] RE: [PATCH] iSER: add dma-mapping.h include

Dan Bar Dov danb at voltaire.com
Tue Nov 29 03:23:17 PST 2005


Applied (r4196).

Dan 

> -----Original Message-----
> From: Roland Dreier [mailto:rolandd at cisco.com] 
> Sent: Tuesday, November 29, 2005 7:26 AM
> To: Dan Bar Dov
> Cc: openib-general at openib.org
> Subject: [PATCH] iSER: add dma-mapping.h include
> 
> iSER uses enum dma_data_direction and other DMA API things without
> including <linux/dma-mapping.h>.  Therefore, the compilation fails for
> architectures (eg sparc64) where that include does not get pulled in
> implicitly because of other includes.
> 
> Signed-off-by: Roland Dreier <rolandd at cisco.com>
> 
> --- infiniband/ulp/iser/iser.h	(revision 4186)
> +++ infiniband/ulp/iser/iser.h	(working copy)
> @@ -1,5 +1,6 @@
>  /*
>   * Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved.
> + * Copyright (c) 2005 Cisco Systems.  All rights reserved.
>   *
>   * This software is available to you under a choice of one of two
>   * licenses.  You may choose to be licensed under the terms 
> of the GNU
> @@ -38,6 +39,7 @@
>  #include <linux/sched.h>
>  #include <linux/list.h>
>  #include <linux/slab.h>
> +#include <linux/dma-mapping.h>
>  
>  #include "iser_api.h"
>  #include "iser_header.h"
> 



More information about the general mailing list