diff mbox

[RESEND] dmaengine: pch: fix compilation for alpha target

Message ID 1401085259-301-1-git-send-email-vinod.koul@intel.com (mailing list archive)
State Accepted
Commit a15783c34f63
Delegated to: Vinod Koul
Headers show

Commit Message

Vinod Koul May 26, 2014, 6:20 a.m. UTC
commit 4828b493 introduced COMPILE_TEST for this driver and this cause compile
failure on alpha as kzalloc wasnt availble for this arch in included header, so
explictly add slab.h

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
resending again as seems this isnt delivered to vger yet :(

 drivers/dma/pch_dma.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Jean Delvare May 26, 2014, 8:31 a.m. UTC | #1
Hi Vinod,

On Mon, 26 May 2014 11:50:59 +0530, Vinod Koul wrote:
> commit 4828b493 introduced COMPILE_TEST for this driver and this cause compile
> failure on alpha as kzalloc wasnt availble for this arch in included header, so
> explictly add slab.h

Note: the commit isn't upstream yet so its ID may change.

> 
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
> ---
> resending again as seems this isnt delivered to vger yet :(
> 
>  drivers/dma/pch_dma.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
> index b4b8cc6..9f9ca9f 100644
> --- a/drivers/dma/pch_dma.c
> +++ b/drivers/dma/pch_dma.c
> @@ -21,6 +21,7 @@
>  #include <linux/dma-mapping.h>
>  #include <linux/init.h>
>  #include <linux/pci.h>
> +#include <linux/slab.h>
>  #include <linux/interrupt.h>
>  #include <linux/module.h>
>  #include <linux/pch_dma.h>

Thanks for the fix.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Vinod Koul May 26, 2014, 9:19 a.m. UTC | #2
On Mon, May 26, 2014 at 10:31:53AM +0200, Jean Delvare wrote:
> Hi Vinod,
> 
> On Mon, 26 May 2014 11:50:59 +0530, Vinod Koul wrote:
> > commit 4828b493 introduced COMPILE_TEST for this driver and this cause compile
> > failure on alpha as kzalloc wasnt availble for this arch in included header, so
> > explictly add slab.h
> 
> Note: the commit isn't upstream yet so its ID may change.
??
Its is in my next and I wont rebase this late, so this commit would be in
linus tree too
> 
> > 
> > Reported-by: kbuild test robot <fengguang.wu@intel.com>
> > Signed-off-by: Vinod Koul <vinod.koul@intel.com>
> > ---
> > resending again as seems this isnt delivered to vger yet :(
> > 
> >  drivers/dma/pch_dma.c |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
> > index b4b8cc6..9f9ca9f 100644
> > --- a/drivers/dma/pch_dma.c
> > +++ b/drivers/dma/pch_dma.c
> > @@ -21,6 +21,7 @@
> >  #include <linux/dma-mapping.h>
> >  #include <linux/init.h>
> >  #include <linux/pci.h>
> > +#include <linux/slab.h>
> >  #include <linux/interrupt.h>
> >  #include <linux/module.h>
> >  #include <linux/pch_dma.h>
> 
> Thanks for the fix.
> 
> Reviewed-by: Jean Delvare <jdelvare@suse.de>
Thanks
diff mbox

Patch

diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c
index b4b8cc6..9f9ca9f 100644
--- a/drivers/dma/pch_dma.c
+++ b/drivers/dma/pch_dma.c
@@ -21,6 +21,7 @@ 
 #include <linux/dma-mapping.h>
 #include <linux/init.h>
 #include <linux/pci.h>
+#include <linux/slab.h>
 #include <linux/interrupt.h>
 #include <linux/module.h>
 #include <linux/pch_dma.h>