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 7FDB3220F37 for ; Fri, 15 Aug 2025 10:57:59 +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=1755255481; cv=none; b=LEWPn5o5GcGW4uHTtFGxS3XH0CmzWTRHvqndYNLL3kkvASPjCa2D/MszAVjheIX5a1wSnlkdkuwV5mxH7hHaKIITHTEDz6xRK8eInaPwmICMTjbMPsnchSUt+K5Vg3HLvuR5BQOCzjlKYGLYmuE5Sm1yO4D3KnMrpwxszz8MTUU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755255481; c=relaxed/simple; bh=94TYqIkUWVEWM0Tkau5sFwQvELr7JIrm2nH5d8auuWs=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Twkwd3/XQNCg2cR/oJmdRszl0CJMzrv1ylooBrOB3mC+69kgjEP7Nep7TjUp538mADPCTCpTFVbkrgPp8IvoXUiGWUQrU+8LQ5wjsLfT7m2uPzb5frgpP6ljrwkidHX5GhDSnX0lVkhnbqMcdD4WZwPZYuDknXEOp/PuQ+lvR4g= 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=WVzdgxhR; 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="WVzdgxhR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1755255479; x=1786791479; h=date:from:to:cc:subject:message-id:mime-version; bh=94TYqIkUWVEWM0Tkau5sFwQvELr7JIrm2nH5d8auuWs=; b=WVzdgxhR2xzI8SLdhUg7H5N4w+KVgDQ1skwBo5lhq1xWSZQ3ZHZiaIlP zBehYnH4Aoq0JAC2eBgPi3X/jGLLdx3YBLubXu07iOPMKVpcCT3oDQArp O8+d5ZXHvo0WZdLO5WyX5L4J2D+8r9uG3Ov4g8tIUCdbVE4K5wClP+Ebo l5tTgjXbX3uLY2DlgzA+np9JB7x99xbjutpyx3zUasl0uvBvWCzqCgaM7 g4kngxKyCSIaPlaNPuRylx76SgSPQMMI+jfhHX3iE5+hNh0jwRTEp+cvr OamxT2TPiRkJtqOkhfVspWJ3JipeNg8QCGSnrBM1JJU/OO8hw/A6sBcxN g==; X-CSE-ConnectionGUID: V74DcJp7TpWcYZIYOfkAAw== X-CSE-MsgGUID: AoKhsjrVQbWkos+/8VG8pw== X-IronPort-AV: E=McAfee;i="6800,10657,11522"; a="56600329" X-IronPort-AV: E=Sophos;i="6.17,290,1747724400"; d="scan'208";a="56600329" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Aug 2025 03:57:58 -0700 X-CSE-ConnectionGUID: ji0fuRTRTCicsoFiZfQV/w== X-CSE-MsgGUID: 8fCqkgvXRD67YS8fFUYCZw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.17,290,1747724400"; d="scan'208";a="171192356" Received: from igk-lkp-server01.igk.intel.com (HELO ca260db0ef79) ([10.91.175.65]) by fmviesa005.fm.intel.com with ESMTP; 15 Aug 2025 03:57:58 -0700 Received: from kbuild by ca260db0ef79 with local (Exim 4.96) (envelope-from ) id 1ums8B-0000Vv-2B; Fri, 15 Aug 2025 10:57:55 +0000 Date: Fri, 15 Aug 2025 12:57:53 +0200 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android14-kiwi-6.1 457/457] include/trace/stages/init.h:2:23: warning: 'str__usb__trace_system_name' defined but not used Message-ID: <202508151237.6iRZe1pw-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 tree: https://android.googlesource.com/kernel/common android14-kiwi-6.1 head: e61c4ff0d66782e41c3eebfc98cb8ea51f6fad45 commit: 41292928f934c3f947f881ea0c51e61200c84d8d [457/457] ANDROID: usb: Add vendor hook for usb suspend and resume config: i386-buildonly-randconfig-2001-20250815 (https://download.01.org/0day-ci/archive/20250815/202508151237.6iRZe1pw-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/20250815/202508151237.6iRZe1pw-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/202508151237.6iRZe1pw-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/usb.h:25, from drivers/android/vendor_hooks.c:74: >> 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: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/delayacct.h:74, from drivers/android/vendor_hooks.c:73: include/trace/stages/init.h:2:23: warning: 'str__delayacct__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/suspend.h:26, from drivers/android/vendor_hooks.c:72: 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: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/compaction.h:20, from drivers/android/vendor_hooks.c:71: include/trace/stages/init.h:2:23: warning: 'str__compaction__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/regmap.h:24, from drivers/android/vendor_hooks.c:70: include/trace/stages/init.h:2:23: warning: 'str__regmap__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/bl_hib.h:44, from drivers/android/vendor_hooks.c:69: include/trace/stages/init.h:2:23: warning: 'str__bl_hib__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 USB_PHY Depends on [n]: USB_SUPPORT [=n] Selected by [y]: - GKI_HIDDEN_USB_CONFIGS [=y] WARNING: unmet direct dependencies detected for NET_DEVLINK Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_SPY Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for ASYNC_TX_ENABLE_CHANNEL_SWITCH Depends on [n]: DMADEVICES [=n] Selected by [y]: - GKI_HIDDEN_DMA_CONFIGS [=y] WARNING: unmet direct dependencies detected for NETFILTER_FAMILY_BRIDGE Depends on [n]: NET [=n] && INET [=n] && NETFILTER [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for WIRELESS_EXT Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for WEXT_CORE Depends on [n]: NET [=n] && WIRELESS [=n] && (CFG80211_WEXT [=n] || WIRELESS_EXT [=y]) Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_PROC Depends on [n]: NET [=n] && WIRELESS [=n] && PROC_FS [=y] && WEXT_CORE [=y] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] WARNING: unmet direct dependencies detected for PAGE_POOL Depends on [n]: NET [=n] Selected by [y]: - GKI_HIDDEN_NET_CONFIGS [=y] WARNING: unmet direct dependencies detected for WEXT_PRIV Depends on [n]: NET [=n] && WIRELESS [=n] Selected by [y]: - GKI_LEGACY_WEXT_ALLCONFIG [=y] vim +/str__usb__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