From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 1190D10FD for ; Thu, 15 May 2025 07:49:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747295361; cv=none; b=oWyDh47t2Q+kKfm1SA7RdpuhPU5Bz+M3QmNMOrCmOXJyxLyqYFGxTvOtUtoJ87X66VdAs+WdmKk8wqPYSOSkAbmP37coZcR0h4Ois7cL+lDXdJ3RqvtWjZmsnXXqP4IW2X04KYGn7O3unoBKlWgaIL1632OmANOVaVAu9w9lD5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747295361; c=relaxed/simple; bh=bvIiLumPQhBpcJ7SO3l4LoaFuWCJFIgQevHHC5MWDaU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=AZHmoSCAi+2mCO/90UzAJO3yvwnbAfiG9t6gQ+Kct/HPUQvMtGB3OUs4L0/6Ys5Zri1V8wNOjDz/fDxlOieiGexyFomU3z76Epi0l9ohVNdwYJomTqn7YDxT4Zjv/9ox5EnY7x+BcXTYq9GxCNw0aIxqx1v6iw78z2+BgnktUCk= 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=OGtCyy/q; arc=none smtp.client-ip=198.175.65.18 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="OGtCyy/q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1747295359; x=1778831359; h=date:from:to:cc:subject:message-id:mime-version; bh=bvIiLumPQhBpcJ7SO3l4LoaFuWCJFIgQevHHC5MWDaU=; b=OGtCyy/qTZh2v8kZhx+zKX1oU6sDVr8vCJ/9bVH9RA4L6E4RY4827vaf rsHdolAuXGKGJsuG/ljKs1ZgYgxAo31/baSbTCAgIQBKyIeth7OKKZvCL ikb/VjlP76px65Qq2a8IbdRYI1tZ/hdQb6angkCKRVO5j7XVm4n3mibDR Y3YjaxKpIq/6MR2fOEdYkacC9xqHPH7jBuAnU673MOLZlmdTxSwpbrWZs YoeMAXi2AGRkuLwHFJmHGB0zh6mFVZKhm9G2ZX1QNGr7sl06tCWMOpHPx JaLZHMkvY+Lpq7ELI4jK+1Rlr/Bp2U5/fQfR+4yALpPyRZXIpzT8WqKkM g==; X-CSE-ConnectionGUID: ciYJFd7kShmkv9R3BZVN/A== X-CSE-MsgGUID: BzIMyEwxRk2spwPRuPEYOA== X-IronPort-AV: E=McAfee;i="6700,10204,11433"; a="49379077" X-IronPort-AV: E=Sophos;i="6.15,290,1739865600"; d="scan'208";a="49379077" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2025 00:49:14 -0700 X-CSE-ConnectionGUID: RyFtPBRjSJeKatmabWkblA== X-CSE-MsgGUID: lzHSEyKfTaSunRzkX389mg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,290,1739865600"; d="scan'208";a="138336968" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by fmviesa007.fm.intel.com with ESMTP; 15 May 2025 00:49:13 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1uFTL4-000I8d-2h; Thu, 15 May 2025 07:49:10 +0000 Date: Thu, 15 May 2025 15:49:00 +0800 From: kernel test robot To: cros-kernel-buildreports@googlegroups.com Cc: oe-kbuild-all@lists.linux.dev Subject: [android-common:android13-5.10 1/1] include/trace/trace_events.h:27:23: warning: 'str__shmem_fs__trace_system_name' defined but not used Message-ID: <202505151508.vDCWlzOZ-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 Charan, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android13-5.10 head: 9610ed5f00dc3dc63655a10cbabf7c6429c2886e commit: 964220d0801b5141253e8a2195355d85616d66e0 [1/1] ANDROID: shmem: vendor hook in shmem_alloc_page config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20250515/202505151508.vDCWlzOZ-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250515/202505151508.vDCWlzOZ-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/202505151508.vDCWlzOZ-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/trace/define_trace.h:102, from include/trace/hooks/shmem_fs.h:17, from drivers/android/vendor_hooks.c:67: >> include/trace/trace_events.h:27:23: warning: 'str__shmem_fs__trace_system_name' defined but not used [-Wunused-const-variable=] 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:23: note: in definition of macro '__app__' 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:30:29: note: in expansion of macro '__app' 30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 33 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 36 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/remoteproc.h:21, from drivers/android/vendor_hooks.c:66: include/trace/trace_events.h:27:23: warning: 'str__remoteproc__trace_system_name' defined but not used [-Wunused-const-variable=] 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:23: note: in definition of macro '__app__' 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:30:29: note: in expansion of macro '__app' 30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 33 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 36 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/fips140.h:51, from drivers/android/vendor_hooks.c:65: include/trace/trace_events.h:27:23: warning: 'str__fips140__trace_system_name' defined but not used [-Wunused-const-variable=] 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:23: note: in definition of macro '__app__' 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:30:29: note: in expansion of macro '__app' 30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 33 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 36 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/cpuidle_psci.h:25, from drivers/android/vendor_hooks.c:64: include/trace/trace_events.h:27:23: warning: 'str__cpuidle_psci__trace_system_name' defined but not used [-Wunused-const-variable=] 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:23: note: in definition of macro '__app__' 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:30:29: note: in expansion of macro '__app' 30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 33 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 36 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/user.h:22, from drivers/android/vendor_hooks.c:63: include/trace/trace_events.h:27:23: warning: 'str__user__trace_system_name' defined but not used [-Wunused-const-variable=] 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:23: note: in definition of macro '__app__' 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:30:29: note: in expansion of macro '__app' 30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 33 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:36:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 36 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/scmi.h:19, from drivers/android/vendor_hooks.c:62: include/trace/trace_events.h:27:23: warning: 'str__scmi__trace_system_name' defined but not used [-Wunused-const-variable=] 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:23: note: in definition of macro '__app__' 27 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:30:29: note: in expansion of macro '__app' 30 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:33:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 33 | static const char TRACE_SYSTEM_STRING[] = \ vim +/str__shmem_fs__trace_system_name +27 include/trace/trace_events.h acd388fd3af350 include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 26) acd388fd3af350 include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 @27) #define __app__(x, y) str__##x##y acd388fd3af350 include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 28) #define __app(x, y) __app__(x, y) acd388fd3af350 include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 29) :::::: The code at line 27 was first introduced by commit :::::: acd388fd3af350ab24c6ab6f19b83fc4a4f3aa60 tracing: Give system name a pointer :::::: TO: Steven Rostedt (Red Hat) :::::: CC: Steven Rostedt -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki