Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1642912 > unrolled thread

linux-next: build failure after merge of the sound tree

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2017-05-17 03:30 +0200
Last post2017-05-17 07:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build failure after merge of the sound tree Stephen Rothwell <sfr@canb.auug.org.au> - 2017-05-17 03:30 +0200
    Re: linux-next: build failure after merge of the sound tree Takashi Iwai <tiwai@suse.de> - 2017-05-17 07:40 +0200

#1642912 — linux-next: build failure after merge of the sound tree

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2017-05-17 03:30 +0200
Subjectlinux-next: build failure after merge of the sound tree
Message-ID<tHVWN-4Te-1@gated-at.bofh.it>
Hi Takashi,

After merging the sound tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/delay.h:21:0,
                 from sound/pcmcia/vx/vxp_ops.c:23:
sound/pcmcia/vx/vxp_ops.c: In function 'vxp_dma_read':
sound/pcmcia/vx/vxp_ops.c:406:43: error: '_chip' undeclared (first use in this function)
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                                           ^
include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                 ^
sound/pcmcia/vx/vxp_ops.c:406:31: note: in expansion of macro 'to_vxpocket'
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                               ^
sound/pcmcia/vx/vxp_ops.c:406:43: note: each undeclared identifier is reported only once for each function it appears in
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                                           ^
include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                 ^
sound/pcmcia/vx/vxp_ops.c:406:31: note: in expansion of macro 'to_vxpocket'
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                               ^
sound/pcmcia/vx/vxp_ops.c: In function 'vx_set_mic_boost':
sound/pcmcia/vx/vxp_ops.c:470:43: error: '_chip' undeclared (first use in this function)
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                                           ^
include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                 ^
sound/pcmcia/vx/vxp_ops.c:470:31: note: in expansion of macro 'to_vxpocket'
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                               ^
sound/pcmcia/vx/vxp_ops.c: In function 'vx_set_mic_level':
sound/pcmcia/vx/vxp_ops.c:512:43: error: '_chip' undeclared (first use in this function)
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                                           ^
include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
  const typeof( ((type *)0)->member ) *__mptr = (ptr); \
                                                 ^
sound/pcmcia/vx/vxp_ops.c:512:31: note: in expansion of macro 'to_vxpocket'
  struct snd_vxpocket *pchip = to_vxpocket(_chip);
                               ^

Caused by commit

  7c46696e8fef ("ALSA: vxpocket: Use container_of()")

I have used the sound tree from next-20170516 for today.
-- 
Cheers,
Stephen Rothwell

[toc] | [next] | [standalone]


#1642986

FromTakashi Iwai <tiwai@suse.de>
Date2017-05-17 07:40 +0200
Message-ID<tHZQK-7s4-21@gated-at.bofh.it>
In reply to#1642912
On Wed, 17 May 2017 03:29:21 +0200,
Stephen Rothwell wrote:
> 
> Hi Takashi,
> 
> After merging the sound tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> In file included from include/linux/delay.h:21:0,
>                  from sound/pcmcia/vx/vxp_ops.c:23:
> sound/pcmcia/vx/vxp_ops.c: In function 'vxp_dma_read':
> sound/pcmcia/vx/vxp_ops.c:406:43: error: '_chip' undeclared (first use in this function)
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                            ^
> include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
>   const typeof( ((type *)0)->member ) *__mptr = (ptr); \
>                                                  ^
> sound/pcmcia/vx/vxp_ops.c:406:31: note: in expansion of macro 'to_vxpocket'
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                ^
> sound/pcmcia/vx/vxp_ops.c:406:43: note: each undeclared identifier is reported only once for each function it appears in
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                            ^
> include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
>   const typeof( ((type *)0)->member ) *__mptr = (ptr); \
>                                                  ^
> sound/pcmcia/vx/vxp_ops.c:406:31: note: in expansion of macro 'to_vxpocket'
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                ^
> sound/pcmcia/vx/vxp_ops.c: In function 'vx_set_mic_boost':
> sound/pcmcia/vx/vxp_ops.c:470:43: error: '_chip' undeclared (first use in this function)
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                            ^
> include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
>   const typeof( ((type *)0)->member ) *__mptr = (ptr); \
>                                                  ^
> sound/pcmcia/vx/vxp_ops.c:470:31: note: in expansion of macro 'to_vxpocket'
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                ^
> sound/pcmcia/vx/vxp_ops.c: In function 'vx_set_mic_level':
> sound/pcmcia/vx/vxp_ops.c:512:43: error: '_chip' undeclared (first use in this function)
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                            ^
> include/linux/kernel.h:854:49: note: in definition of macro 'container_of'
>   const typeof( ((type *)0)->member ) *__mptr = (ptr); \
>                                                  ^
> sound/pcmcia/vx/vxp_ops.c:512:31: note: in expansion of macro 'to_vxpocket'
>   struct snd_vxpocket *pchip = to_vxpocket(_chip);
>                                ^
> 
> Caused by commit
> 
>   7c46696e8fef ("ALSA: vxpocket: Use container_of()")
> 
> I have used the sound tree from next-20170516 for today.

My bad, I applied the wrong version of the patch.
Now fixed and pushed out.


thanks,

Takashi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web