From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751829AbdEQFaU (ORCPT ); Wed, 17 May 2017 01:30:20 -0400 Received: from mx2.suse.de ([195.135.220.15]:35379 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751104AbdEQFaT (ORCPT ); Wed, 17 May 2017 01:30:19 -0400 Date: Wed, 17 May 2017 07:30:17 +0200 Message-ID: From: Takashi Iwai To: Stephen Rothwell Cc: Linux-Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the sound tree In-Reply-To: <20170517112921.0837160b@canb.auug.org.au> References: <20170517112921.0837160b@canb.auug.org.au> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.2 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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