From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gnuweeb.org (Postfix) with ESMTPS id 3295E8060F for ; Wed, 3 Aug 2022 06:24:54 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=JbH05K0V; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659507894; x=1691043894; h=date:from:to:cc:subject:message-id:mime-version; bh=2sA4kprgHF6gV1bytJ0fxw3/KTkjDHCWxL3qf9XGUhc=; b=JbH05K0VW29hYyywIUZKkMHJLqZwQp+5EjFZDZ2Lsxhi/TUAfVERUQ9q 6gmKPd86vCU7PnrQYX8aO93KgTPXTN6eJOyOKm1/l0O1zC3DcyTb0Xz4h NHdz3YvTThaG+k7sH6KxVAmSW9H1zC3NmCe0HLfmSXfX24CaOMf7S2OEt rrHTWi5E4KF4kT+n0wJNJy46OQgDKxVRySbg9LAiTLGhH25nQUmzPSXRE 8oOIXRKdwl9lZCJ/6Fy8L3+QSpFTWCdYK+n6PCM1XukguZ8sggoxWcAzI j6jw+zDp+QHA78EjstsaZmpIBLs7E+8siYRfyfFGBTqdz5ToQVdtAQi47 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="290811850" X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="290811850" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2022 23:24:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="744947436" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 02 Aug 2022 23:24:52 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oJ7oJ-000Gv5-1j; Wed, 03 Aug 2022 06:24:51 +0000 Date: Wed, 3 Aug 2022 14:24:44 +0800 From: kernel test robot To: Ammar Faizi , GNU/Weeb Mailing List Cc: kbuild-all@lists.01.org Subject: [ammarfaizi2-block:google/android/kernel/common/android12-5.4 9371/9999] include/trace/trace_events.h:26:23: warning: 'str__ion__trace_system_name' defined but not used Message-ID: <202208031447.ND7h1Qih-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block google/android/kernel/common/android12-5.4 head: 61c005f0f1663789612bbe039932620f51779526 commit: 0cc2d3cf840d31610e8af964d2b8a8e4a972cd68 [9371/9999] ANDROID: GKI: ion: add vendor hook for ion buffer release config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20220803/202208031447.ND7h1Qih-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/0cc2d3cf840d31610e8af964d2b8a8e4a972cd68 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block google/android/kernel/common/android12-5.4 git checkout 0cc2d3cf840d31610e8af964d2b8a8e4a972cd68 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/android/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/trace/define_trace.h:102, from include/trace/hooks/ion.h:18, from drivers/android/vendor_hooks.c:26: >> include/trace/trace_events.h:26:23: warning: 'str__ion__trace_system_name' defined but not used [-Wunused-const-variable=] 26 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:21: note: in expansion of macro '__app__' 27 | #define __app(x, y) __app__(x, y) | ^~~~~~~ include/trace/trace_events.h:29:29: note: in expansion of macro '__app' 29 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:32:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 32 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:35:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 35 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/psci.h:26, from drivers/android/vendor_hooks.c:25: include/trace/trace_events.h:26:23: warning: 'str__psci__trace_system_name' defined but not used [-Wunused-const-variable=] 26 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:21: note: in expansion of macro '__app__' 27 | #define __app(x, y) __app__(x, y) | ^~~~~~~ include/trace/trace_events.h:29:29: note: in expansion of macro '__app' 29 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:32:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 32 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:35:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 35 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/usb.h:20, from drivers/android/vendor_hooks.c:24: include/trace/trace_events.h:26:23: warning: 'str__usb__trace_system_name' defined but not used [-Wunused-const-variable=] 26 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:21: note: in expansion of macro '__app__' 27 | #define __app(x, y) __app__(x, y) | ^~~~~~~ include/trace/trace_events.h:29:29: note: in expansion of macro '__app' 29 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:32:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 32 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:35:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 35 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/ufshcd.h:55, from drivers/android/vendor_hooks.c:23: include/trace/trace_events.h:26:23: warning: 'str__ufshcd__trace_system_name' defined but not used [-Wunused-const-variable=] 26 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:21: note: in expansion of macro '__app__' 27 | #define __app(x, y) __app__(x, y) | ^~~~~~~ include/trace/trace_events.h:29:29: note: in expansion of macro '__app' 29 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:32:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 32 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:35:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 35 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/sys.h:17, from drivers/android/vendor_hooks.c:22: include/trace/trace_events.h:26:23: warning: 'str__sys__trace_system_name' defined but not used [-Wunused-const-variable=] 26 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:21: note: in expansion of macro '__app__' 27 | #define __app(x, y) __app__(x, y) | ^~~~~~~ include/trace/trace_events.h:29:29: note: in expansion of macro '__app' 29 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:32:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 32 | static const char TRACE_SYSTEM_STRING[] = \ | ^~~~~~~~~~~~~~~~~~~ include/trace/trace_events.h:35:1: note: in expansion of macro 'TRACE_MAKE_SYSTEM_STR' 35 | TRACE_MAKE_SYSTEM_STR(); | ^~~~~~~~~~~~~~~~~~~~~ In file included from include/trace/define_trace.h:102, from include/trace/hooks/cgroup.h:17, from drivers/android/vendor_hooks.c:21: include/trace/trace_events.h:26:23: warning: 'str__cgroup__trace_system_name' defined but not used [-Wunused-const-variable=] 26 | #define __app__(x, y) str__##x##y | ^~~~~ include/trace/trace_events.h:27:21: note: in expansion of macro '__app__' 27 | #define __app(x, y) __app__(x, y) | ^~~~~~~ include/trace/trace_events.h:29:29: note: in expansion of macro '__app' 29 | #define TRACE_SYSTEM_STRING __app(TRACE_SYSTEM_VAR,__trace_system_name) | ^~~~~ include/trace/trace_events.h:32:27: note: in expansion of macro 'TRACE_SYSTEM_STRING' 32 | static const char TRACE_SYSTEM_STRING[] = \ vim +/str__ion__trace_system_name +26 include/trace/trace_events.h acd388fd3af350ab include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 25) acd388fd3af350ab include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 @26) #define __app__(x, y) str__##x##y acd388fd3af350ab include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 27) #define __app(x, y) __app__(x, y) acd388fd3af350ab include/trace/ftrace.h Steven Rostedt (Red Hat 2015-03-31 28) :::::: The code at line 26 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://01.org/lkp