From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 084FF33DF for ; Thu, 15 May 2025 15:55:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747324560; cv=none; b=F+foK/JIWfS46t0PnNCarnuKKLGNb0LrUPVavpfvlJl9zRCYnYi195bvlLLJ3i0kXKoGMxC2mhyTNyr5pyUzR+uMFM2t8LIRfJa9/6kYc4Hz2EM+B1xpVwpWQsX3O8iUryHPEHTO5UoDWc+MX26BHiBIsXNDDRsIDrPhzHIWcDw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1747324560; c=relaxed/simple; bh=24MUA0VdYEFQRGINTiESX81+Vq4TkQo0LOq9mltgyVY=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=FzsBlAsNLGInWRpTi3qV4Zgxc+hXBzHyD1OUMyiAHwhE52fz4dfxf8Nknm0uk7puLwC1sHSVMkH9+TNHxbYX7VtNlgPkS6KCH9zauZ2WnfaqUNlmuw2dEWth4ACHHmZFYLmG1iHEU1Sq0LWa4rKZYxDs7+xl/TkweZwkGClR3fQ= 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=QoYdfjFy; arc=none smtp.client-ip=192.198.163.8 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="QoYdfjFy" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1747324558; x=1778860558; h=date:from:to:cc:subject:message-id:mime-version; bh=24MUA0VdYEFQRGINTiESX81+Vq4TkQo0LOq9mltgyVY=; b=QoYdfjFyDrr0QWAmvS2HnUb7lc8Mu9WD1p2Ej3BuZtDq5TJryGMfuXHP hBwC1+8Rl6HTg8ooESKIRdSy367aTLs6kbBJ+a7qILryKUkgw90N52AQq NlThDCrDP3NLbpyXQNrrPVK+gyUrvG9bbHs+0QY/Bs3QTswkl/KV/8eJS 3VLiaXD1ApJPA0Qc1tiG0jOUNsH++JA4gfgwG5goOIYT6tgPZ2IOzbUL3 50b3FBghPCmXN3n4zJ3RA04pXcWNdm8tBDPIMb7Mc/VNY6kR6grJeeXWS ObbpX8qAAHx8YKKjcbBhOgG+X8yItb1bngwN1yrAywK/LFAnVTIgkNNND w==; X-CSE-ConnectionGUID: tZbyrha9RBu4hd0tLHQnIg== X-CSE-MsgGUID: GF44CytsRrWaDl4yxEVY/Q== X-IronPort-AV: E=McAfee;i="6700,10204,11434"; a="66822853" X-IronPort-AV: E=Sophos;i="6.15,291,1739865600"; d="scan'208";a="66822853" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 May 2025 08:55:57 -0700 X-CSE-ConnectionGUID: Y4le1YymQqari8uPIRegeQ== X-CSE-MsgGUID: c1+A1ae3Qhu3b7yMCfSIQA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.15,291,1739865600"; d="scan'208";a="138292999" Received: from lkp-server01.sh.intel.com (HELO 1992f890471c) ([10.239.97.150]) by orviesa006.jf.intel.com with ESMTP; 15 May 2025 08:55:57 -0700 Received: from kbuild by 1992f890471c with local (Exim 4.96) (envelope-from ) id 1uFaw5-000IVz-39; Thu, 15 May 2025 15:55:53 +0000 Date: Thu, 15 May 2025 23:55:40 +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__gup__trace_system_name' defined but not used Message-ID: <202505152343.jSNKHowA-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 Minchan, FYI, the error/warning still remains. tree: https://android.googlesource.com/kernel/common android13-5.10 head: 9610ed5f00dc3dc63655a10cbabf7c6429c2886e commit: aea946bdf05bbeb0ba043157bb77130c946eb037 [1/1] ANDROID: mm: gup: vendor hook in GUP friends config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20250515/202505152343.jSNKHowA-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/202505152343.jSNKHowA-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/202505152343.jSNKHowA-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from include/trace/define_trace.h:102, from include/trace/hooks/gup.h:34, from drivers/android/vendor_hooks.c:75: >> include/trace/trace_events.h:27:23: warning: 'str__gup__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/snd_compr.h:24, from drivers/android/vendor_hooks.c:74: include/trace/trace_events.h:27:23: warning: 'str__snd_compr__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/sound.h:20, from drivers/android/vendor_hooks.c:73: include/trace/trace_events.h:27:23: warning: 'str__sound__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/ipv6.h:22, from drivers/android/vendor_hooks.c:72: include/trace/trace_events.h:27:23: warning: 'str__ipv6__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/usb.h:26, from drivers/android/vendor_hooks.c:71: include/trace/trace_events.h:27:23: warning: 'str__usb__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/syscall_check.h:31, from drivers/android/vendor_hooks.c:70: include/trace/trace_events.h:27:23: warning: 'str__syscall_check__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__gup__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