From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (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 7F0C02D94A1 for ; Wed, 31 Dec 2025 19:41:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767210077; cv=none; b=P3oWwosS7PE5oL9cd6S/CfmesUBaesHI8NfpuRcO6KyIKOmnN0jdl9Z37M7n7OdACrJfLuiMBadYnkdikKXD60zIfylwqL2dPBl+zAZvYVYu0SINpEDvDykS3sXcOZLFqVxQ6+fmZwNeWZGkt4L+20iQY4AjX0Z3CvyjK5lleEE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767210077; c=relaxed/simple; bh=jlrrnGrNmSocx/JL7C7UdJSzN9LOz1tNVxYW6p0mKFk=; h=Date:From:To:Cc:Subject:Message-ID; b=mbApgCoUOXK/JdlvcUCb2pd22jRqvVlhQomlk7P4H5QHzzmUIEnY2NUjSgwxvKDPKceJU9PG4IpRkwXFVjLYKEWW0J4GniZIlHb3swzku6RKiXyPkJgRog5Zv7v5EPjhQS89XbOQ3dEyoQk4wlLzitjiF6Xi0ygHvGDaOsiMi34= 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=jNtglf5F; arc=none smtp.client-ip=192.198.163.19 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="jNtglf5F" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1767210075; x=1798746075; h=date:from:to:cc:subject:message-id; bh=jlrrnGrNmSocx/JL7C7UdJSzN9LOz1tNVxYW6p0mKFk=; b=jNtglf5FnWx4m2OsRZz5wbO2HFbziyyyAD73mhFRjysKu6vJoY5vXYrQ g3Ex0e6FrP7XyL5McQnLM5pRZ2qwvxIskgs9Ug0GMS0QBRbHdlJHcNt3E 9bNa2YoaT6ee7HHcciXQ21Tht3amxHh0wdB4outjJ7H8sXCq0/SGKvl4P tyodYeR9380BAFp3ntDRZtKx4Vjad5NjULMnG2MteikXwgC6UHNPCRuou LAZSEAortE9GXQ76/N1AgT3t5jB5Vww5woboEZhimPrfTsRHqYEKgZgRq p6X9AoPH5ery/eyBWdp/M2Z+6nce2xuP3FFgAmrYxtcfdPEwoAWfoSlyb w==; X-CSE-ConnectionGUID: aIjnJ4ljS+2WPYpsaXkFjw== X-CSE-MsgGUID: u6+LMRs4RWu+do/tOPZmDg== X-IronPort-AV: E=McAfee;i="6800,10657,11658"; a="67781149" X-IronPort-AV: E=Sophos;i="6.21,192,1763452800"; d="scan'208";a="67781149" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Dec 2025 11:41:15 -0800 X-CSE-ConnectionGUID: /IL3DmylQkyDE26a07BozQ== X-CSE-MsgGUID: gsANcpUTQAGl9OGAMrgZlw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,192,1763452800"; d="scan'208";a="201504625" Received: from lkp-server01.sh.intel.com (HELO c9aa31daaa89) ([10.239.97.150]) by orviesa007.jf.intel.com with ESMTP; 31 Dec 2025 11:41:13 -0800 Received: from kbuild by c9aa31daaa89 with local (Exim 4.98.2) (envelope-from ) id 1vb24F-000000001RN-0eXo; Wed, 31 Dec 2025 19:41:11 +0000 Date: Thu, 01 Jan 2026 03:40:22 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android16-6.12 2/2] include/trace/stages/init.h:2:23: warning: 'str__dmv_debug__trace_system_name' defined but not used Message-ID: <202601010339.enGoiFZr-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: Hi Tran, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android16-6.12 head: a0c89b9a66cb83f486730bdbb70f960e58cb0274 commit: ecb87057498e50242e0ef866b3532439f1205d4a [2/2] ANDROID: vendor_hooks: Add hooks for dmv config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20260101/202601010339.enGoiFZr-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260101/202601010339.enGoiFZr-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/202601010339.enGoiFZr-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:109, from include/trace/hooks/dmv_debug.h:45, from drivers/android/vendor_hooks.c:82: >> include/trace/stages/init.h:2:23: warning: 'str__dmv_debug__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:3:21: note: in expansion of macro '__app__' 3 | #define __app(x, y) __app__(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:109, from include/trace/hooks/kasan.h:18, from drivers/android/vendor_hooks.c:81: include/trace/stages/init.h:2:23: warning: 'str__kasan__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:3:21: note: in expansion of macro '__app__' 3 | #define __app(x, y) __app__(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:109, from include/trace/hooks/usb.h:29, from drivers/android/vendor_hooks.c:80: include/trace/stages/init.h:2:23: warning: 'str__usb__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:3:21: note: in expansion of macro '__app__' 3 | #define __app(x, y) __app__(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:109, from include/trace/hooks/gzvm.h:29, from drivers/android/vendor_hooks.c:79: include/trace/stages/init.h:2:23: warning: 'str__gzvm__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:3:21: note: in expansion of macro '__app__' 3 | #define __app(x, y) __app__(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:109, from include/trace/hooks/user.h:21, from drivers/android/vendor_hooks.c:78: include/trace/stages/init.h:2:23: warning: 'str__user__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:3:21: note: in expansion of macro '__app__' 3 | #define __app(x, y) __app__(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:109, from include/trace/hooks/suspend.h:28, from drivers/android/vendor_hooks.c:77: include/trace/stages/init.h:2:23: warning: 'str__suspend__trace_system_name' defined but not used [-Wunused-const-variable=] 2 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/stages/init.h:3:21: note: in expansion of macro '__app__' 3 | #define __app(x, y) __app__(x, y) | ^~~~~~~ vim +/str__dmv_debug__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