From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 31DEFC6FA8F for ; Tue, 29 Aug 2023 17:52:16 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 25461827; Tue, 29 Aug 2023 19:51:24 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 25461827 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1693331534; bh=4QxiCQjQW/UnKH6n0uDRKOzqFIqrY2QFeJcA2859rhM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=X0n1+Ud+aWpKzG48NTC0rmtVLjjWPS5S4yCF+tZYnWfRG+1xGioMbvVPLrUdrLSsR lVn4auA05Rs/J+p7t5mk1TgBqYdesLdoDt+crtvrLo5qZb7VNx4Be9mmVj97rpva5k 1e4Q9Dx9QjYa3RGyQKGYA5pPN3Q6D9KiSG3fTUbA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9DEFBF80236; Tue, 29 Aug 2023 19:51:00 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 20577F800D1; Tue, 29 Aug 2023 19:51:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 00C91F80158; Tue, 29 Aug 2023 19:50:55 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 9A598F800D1 for ; Tue, 29 Aug 2023 19:50:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9A598F800D1 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=lbStnHjL DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693331449; x=1724867449; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=4QxiCQjQW/UnKH6n0uDRKOzqFIqrY2QFeJcA2859rhM=; b=lbStnHjL0vhvK99uOo/8rk37ccbUmnRNR/hKumrrMyjQNIF5loPISMkI 953si+quzZjFK+5+UntequGNi+fkK4MiNk8FBih1bvLsZE+9f/CxeCxM1 aZtdwswqle9UNXzi4agNzyRw8QyynTblUoPgfw4n+rEDdiQf7hobGpXWW u5SeK5j93RuQFAye9tLv/FryxvXQPM4GlbA4RHXaJoxaAs2nSKbtttY/A eWaxmMuOqpWpBoa4eChNPpuKYt/cL3TePWAEv8NxQSlglNPy03NbwCAyn +euK7NNpldVcLc3ZnvNl04KN7wd862t4CLwGFLosPdGOSAT/DcjsA6GZ0 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="439392191" X-IronPort-AV: E=Sophos;i="6.02,210,1688454000"; d="scan'208";a="439392191" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Aug 2023 10:50:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10817"; a="808786659" X-IronPort-AV: E=Sophos;i="6.02,210,1688454000"; d="scan'208";a="808786659" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by fmsmga004.fm.intel.com with ESMTP; 29 Aug 2023 10:50:43 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qb2rT-0008yZ-0a; Tue, 29 Aug 2023 17:50:43 +0000 Date: Wed, 30 Aug 2023 01:50:22 +0800 From: kernel test robot To: Andy Shevchenko , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Jaroslav Kysela , Takashi Iwai , Andy Shevchenko Subject: Re: [PATCH v2 1/1] ALSA: control: Use list_for_each_entry_safe() Message-ID: <202308300128.l96uIvcS-lkp@intel.com> References: <20230829142307.3916823-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230829142307.3916823-1-andriy.shevchenko@linux.intel.com> Message-ID-Hash: XMO7BDDP4TSNAFG4NMQ43FBL65TFJK75 X-Message-ID-Hash: XMO7BDDP4TSNAFG4NMQ43FBL65TFJK75 X-MailFrom: lkp@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Hi Andy, kernel test robot noticed the following build errors: [auto build test ERROR on tiwai-sound/for-next] [also build test ERROR on tiwai-sound/for-linus linus/master v6.5 next-20230829] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Andy-Shevchenko/ALSA-control-Use-list_for_each_entry_safe/20230829-222521 base: https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git for-next patch link: https://lore.kernel.org/r/20230829142307.3916823-1-andriy.shevchenko%40linux.intel.com patch subject: [PATCH v2 1/1] ALSA: control: Use list_for_each_entry_safe() config: i386-buildonly-randconfig-001-20230829 (https://download.01.org/0day-ci/archive/20230830/202308300128.l96uIvcS-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230830/202308300128.l96uIvcS-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308300128.l96uIvcS-lkp@intel.com/ All errors (new ones prefixed by >>): >> sound/core/control_led.c:304:3: error: assigning to 'struct snd_ctl_led_ctl' from incompatible type 'typeof (*(lctl)) *' (aka 'struct snd_ctl_led_ctl *'); dereference with * list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:777:5: note: expanded from macro 'list_for_each_entry_safe' n = list_next_entry(pos, member); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> sound/core/control_led.c:304:3: error: assigning to 'struct snd_ctl_led_ctl *' from incompatible type 'struct snd_ctl_led_ctl'; take the address with & list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^ ~~~~~ & include/linux/list.h:779:11: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^ ~ >> sound/core/control_led.c:304:3: error: member reference type 'struct snd_ctl_led_ctl' is not a pointer; did you mean to use '.'? list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:18: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:520:15: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ include/linux/container_of.h:19:26: note: expanded from macro 'container_of' void *__mptr = (void *)(ptr); \ ^~~ >> sound/core/control_led.c:304:3: error: member reference type 'struct snd_ctl_led_ctl' is not a pointer; did you mean to use '.'? list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:18: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:520:15: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:338:63: note: expanded from macro '__same_type' #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) ^ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ >> sound/core/control_led.c:304:3: error: indirection requires pointer operand ('struct snd_ctl_led_ctl' invalid) list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:40: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ include/linux/list.h:520:20: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:338:74: note: expanded from macro '__same_type' #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) ^ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ >> sound/core/control_led.c:304:3: error: member reference type 'struct snd_ctl_led_ctl' is not a pointer; did you mean to use '.'? list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:18: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:520:15: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:338:63: note: expanded from macro '__same_type' #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) ^ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ >> sound/core/control_led.c:304:3: error: indirection requires pointer operand ('struct snd_ctl_led_ctl' invalid) list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:40: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ include/linux/list.h:520:20: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ include/linux/container_of.h:23:4: note: expanded from macro 'container_of' ((type *)(__mptr - offsetof(type, member))); }) ^~~~ >> sound/core/control_led.c:304:3: error: indirection requires pointer operand ('struct snd_ctl_led_ctl' invalid) list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:40: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ include/linux/list.h:520:20: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ include/linux/container_of.h:23:30: note: expanded from macro 'container_of' ((type *)(__mptr - offsetof(type, member))); }) ~~~~~~~~~^~~~~~~~~~~~~ include/linux/stddef.h:16:51: note: expanded from macro 'offsetof' #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER) ^~~~ >> sound/core/control_led.c:304:3: error: assigning to 'struct snd_ctl_led_ctl' from incompatible type 'void' list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:18: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/core/control_led.c:329:2: error: assigning to 'struct snd_ctl_led_ctl' from incompatible type 'typeof (*(lctl)) *' (aka 'struct snd_ctl_led_ctl *'); dereference with * list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:777:5: note: expanded from macro 'list_for_each_entry_safe' n = list_next_entry(pos, member); \ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound/core/control_led.c:329:2: error: assigning to 'struct snd_ctl_led_ctl *' from incompatible type 'struct snd_ctl_led_ctl'; take the address with & list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^ ~~~~~ & include/linux/list.h:779:11: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^ ~ sound/core/control_led.c:329:2: error: member reference type 'struct snd_ctl_led_ctl' is not a pointer; did you mean to use '.'? list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:18: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:520:15: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ include/linux/container_of.h:19:26: note: expanded from macro 'container_of' void *__mptr = (void *)(ptr); \ ^~~ sound/core/control_led.c:329:2: error: member reference type 'struct snd_ctl_led_ctl' is not a pointer; did you mean to use '.'? list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:18: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:520:15: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:338:63: note: expanded from macro '__same_type' #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) ^ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ sound/core/control_led.c:329:2: error: indirection requires pointer operand ('struct snd_ctl_led_ctl' invalid) list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:40: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ include/linux/list.h:520:20: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:338:74: note: expanded from macro '__same_type' #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) ^ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ sound/core/control_led.c:329:2: error: member reference type 'struct snd_ctl_led_ctl' is not a pointer; did you mean to use '.'? list_for_each_entry_safe(lctl, _lctl, &led->controls, list) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:779:20: note: expanded from macro 'list_for_each_entry_safe' pos = n, n = list_next_entry(n, member)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:564:18: note: expanded from macro 'list_next_entry' list_entry((pos)->member.next, typeof(*(pos)), member) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/list.h:520:15: note: expanded from macro 'list_entry' container_of(ptr, type, member) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) include/linux/compiler_types.h:338:63: note: expanded from macro '__same_type' #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) ^ include/linux/build_bug.h:77:50: note: expanded from macro 'static_assert' #define static_assert(expr, ...) __static_assert(expr, ##__VA_ARGS__, #expr) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: expanded from macro '__static_assert' #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) ^~~~ sound/core/control_led.c:329:2: error: indirection requires pointer operand ('struct snd_ctl_led_ctl' invalid) vim +304 sound/core/control_led.c 295 296 static void snd_ctl_led_clean(struct snd_card *card) 297 { 298 unsigned int group; 299 struct snd_ctl_led *led; 300 struct snd_ctl_led_ctl *lctl, _lctl; 301 302 for (group = 0; group < MAX_LED; group++) { 303 led = &snd_ctl_leds[group]; > 304 list_for_each_entry_safe(lctl, _lctl, &led->controls, list) 305 if (!card || lctl->card == card) 306 snd_ctl_led_ctl_destroy(lctl); 307 } 308 } 309 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki