From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69A5E2D6623 for ; Fri, 22 Aug 2025 22:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755903441; cv=none; b=bF+TOOXKDAw4m9zmuZ7sPjlH6JOdOPrdvsaLaBic9hesqAeFLfDTA7Xw89aZMEbu5okXyzwYgqWn51AHm7Bb1/QxBwqHav9kv7VQxSpWuejcge3gc4Tm9vbkHw80d6y3rr+JwEnYdG0gr7Z5+o+dOsuILMRQbMMKKbEEzr3SCqI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755903441; c=relaxed/simple; bh=330IqwT0W6pbbjKvnLRtDXgApwEwfpAAICfEqBMk8XU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=JwD2mzJbt/QayJZtgDvWOA3dNKfZS1chTt10uqqoAU9fifFJKGtZRtrjSBLvVFXKj0TU5EJ9sZM/QEAJ0syI+xReVD84xwgG+9dkS+oZBKs/Bfr9RwM/MXIBGFhcheVFLmju3jCrFK2pRtnwJ3HIP7jH3GihxaGv6RbocAqhD3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=cp4LYi7y; arc=none smtp.client-ip=192.198.163.17 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="cp4LYi7y" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1755903439; x=1787439439; h=date:from:to:cc:subject:message-id:mime-version; bh=330IqwT0W6pbbjKvnLRtDXgApwEwfpAAICfEqBMk8XU=; b=cp4LYi7yuJrxybNiaNaeznlPkdilZUWuFNKKpZjPLw5qsGZHYmtHA8QZ +3ivJfxZ4fRSbDWlCqkIkOo3ILzgvjYEr88AogF9N+HM8aGq2ULYnZdU9 oH3ObyuCAaZJB6A9asoafzsGGZ22+J6NMXsgDC9Q6SpdRR7plzP2tGNHx xQfgMZoXsXlKsJL+RiTHR+TFmCGmG/h0gMZRccCJyZCV2YWERdqEbkxFu xPShwSgWFQ9f8OR/KM2BiBP2RZBxJZhUtAyR50jMpyh55qLXWuTpY//RU lgVYx68bIP5YStVdSXtUQnFnBS1QxjX+GG6JhM9kK3MIqCM9gtSrp4pOY A==; X-CSE-ConnectionGUID: OrodnUP9Q4KbmUxYn44/ww== X-CSE-MsgGUID: ScDobP61S9Cv8e5rI+ysvg== X-IronPort-AV: E=McAfee;i="6800,10657,11529"; a="58142363" X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="58142363" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2025 15:57:18 -0700 X-CSE-ConnectionGUID: Z9masJwLTiuxRchcHBGgrw== X-CSE-MsgGUID: cNPkyT5sQ2+U7ift/L4QGA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.17,312,1747724400"; d="scan'208";a="169629458" Received: from lkp-server02.sh.intel.com (HELO 4ea60e6ab079) ([10.239.97.151]) by fmviesa010.fm.intel.com with ESMTP; 22 Aug 2025 15:57:18 -0700 Received: from kbuild by 4ea60e6ab079 with local (Exim 4.96) (envelope-from ) id 1upah9-000Lu3-1x; Fri, 22 Aug 2025 22:57:15 +0000 Date: Sat, 23 Aug 2025 06:56:38 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android16-6.12-desktop 6/6] include/trace/stages/init.h:2:23: warning: 'str__traps__trace_system_name' defined but not used Message-ID: <202508230650.rSlUINSZ-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Sangmoon, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12-desktop head: 3f8a5612f90e91c6acf0f22bb5fa67ad1ce1c1e4 commit: 9886b7e3cb79b18e35ee7d90cd06be999c0c90ff [6/6] ANDROID: arm64: add vendor hooks for unusal abort cases config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20250823/202508230650.rSlUINSZ-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250823/202508230650.rSlUINSZ-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/202508230650.rSlUINSZ-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/trace/trace_events.h:27, from include/trace/define_trace.h:102, from include/trace/hooks/traps.h:18, from drivers/android/vendor_hooks.c:41: >> include/trace/stages/init.h:2:23: warning: 'str__traps__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:2:23: note: in definition of macro '__app__' 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:5:29: note: in expansion of macro '__app' 5 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/stages/init.h:8:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 8 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/stages/init.h:11:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 11 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/trace_events.h:27, from include/trace/define_trace.h:102, from include/trace/hooks/mm.h:61, from drivers/android/vendor_hooks.c:40: include/trace/stages/init.h:2:23: warning: 'str__mm__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:2:23: note: in definition of macro '__app__' 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:5:29: note: in expansion of macro '__app' 5 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/stages/init.h:8:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 8 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/stages/init.h:11:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 11 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/trace_events.h:27, from include/trace/define_trace.h:102, from include/trace/hooks/ftrace_dump.h:18, from drivers/android/vendor_hooks.c:39: include/trace/stages/init.h:2:23: warning: 'str__ftrace_dump__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:2:23: note: in definition of macro '__app__' 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:5:29: note: in expansion of macro '__app' 5 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/stages/init.h:8:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 8 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/stages/init.h:11:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 11 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/trace_events.h:27, from include/trace/define_trace.h:102, from include/trace/hooks/dtask.h:18, from drivers/android/vendor_hooks.c:38: include/trace/stages/init.h:2:23: warning: 'str__dtask__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:2:23: note: in definition of macro '__app__' 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:5:29: note: in expansion of macro '__app' 5 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/stages/init.h:8:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 8 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/stages/init.h:11:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 11 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/trace_events.h:27, from include/trace/define_trace.h:102, from include/trace/hooks/fpsimd.h:20, from drivers/android/vendor_hooks.c:37: include/trace/stages/init.h:2:23: warning: 'str__fpsimd__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:2:23: note: in definition of macro '__app__' 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:5:29: note: in expansion of macro '__app' 5 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/stages/init.h:8:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 8 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/stages/init.h:11:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 11 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/trace_events.h:27, from include/trace/define_trace.h:102, from include/trace/hooks/timer.h:18, from drivers/android/vendor_hooks.c:36: include/trace/stages/init.h:2:23: warning: 'str__timer__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:2:23: note: in definition of macro '__app__' 2 | #define __app__(x, y) str__##x##y | ^~~~~ Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for GET_FREE_REGION Depends on [n]: SPARSEMEM [=n] Selected by [y]: - RESOURCE_KUNIT_TEST [=y] && RUNTIME_TESTING_MENU [=y] && KUNIT [=y] vim +/str__traps__trace_system_name +2 include/trace/stages/init.h af6b9668e85ffd Steven Rostedt (Google 2022-03-03 @2) #define __app__(x, y) str__##x##y af6b9668e85ffd Steven Rostedt (Google 2022-03-03 3) #define __app(x, y) __app__(x, y) af6b9668e85ffd Steven Rostedt (Google 2022-03-03 4) :::::: The code at line 2 was first introduced by commit :::::: af6b9668e85ffd1502aada8036ccbf4dbd481708 tracing: Move the defines to create TRACE_EVENTS into their own files :::::: TO: Steven Rostedt (Google) :::::: CC: Steven Rostedt (Google) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki