Subject: Re: linux-next: build failure after merge of the final tree (sound tree related)

From: Takashi Iwai <[email-masked]>
Date: Wed, 16 Mar 2011 07:49:52 +0100

At Wed, 16 Mar 2011 17:39:28 +1100,
Stephen Rothwell wrote:
> 
> Hi all,
> 
> After merging the final tree, today's linux-next build (powerpc
> allyesconfig) failed like this:
> 
> sound/firewire/fcp.c: In function 'fcp_avc_transaction':
> sound/firewire/fcp.c:103: error: implicit declaration of function 'msleep'
> 
> Caused by commit 31ef9134eb52 ("ALSA: add LaCie FireWire Speakers/Griffin
> FireWave Surround driver").  See Rule 1 from
> Documentation/SubmitChecklist.
> 
> I have added this patch for today:
> 
> >From d238d290ba37e4a31929e6d3f6a08c187b537628 Mon Sep 17 00:00:00 2001
> From: Stephen Rothwell <[email-masked]>
> Date: Wed, 16 Mar 2011 17:35:53 +1100
> Subject: [PATCH] ALSA: msleep needs delay.h
> 
> fixes this error:
> 
> sound/firewire/fcp.c: In function 'fcp_avc_transaction':
> sound/firewire/fcp.c:103: error: implicit declaration of function 'msleep'
> 
> Signed-off-by: Stephen Rothwell <[email-masked]>

Thanks, fixed now in sound git tree.

Takashi

> ---
>  sound/firewire/fcp.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/firewire/fcp.c b/sound/firewire/fcp.c
> index c20bd9c..ec578b5 100644
> --- a/sound/firewire/fcp.c
> +++ b/sound/firewire/fcp.c
> @@ -13,6 +13,7 @@
>  #include <linux/sched.h>
>  #include <linux/spinlock.h>
>  #include <linux/wait.h>
> +#include <linux/delay.h>
>  #include "fcp.h"
>  #include "lib.h"
>  
> -- 
> 1.7.4.1
> 
> 
> -- 
> Cheers,
> Stephen Rothwell                    [email-masked]
> http://www.canb.auug.org.au/~sfr/
>