Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2955148rdb; Tue, 6 Feb 2024 02:55:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IERa268QJDYs2bf0RUwD0yYn6KWi3NJox35yrMYQBXD9UCSqsO+rdykBq2Dx09AAHRLoosp X-Received: by 2002:a9d:7a8c:0:b0:6e2:8604:848 with SMTP id l12-20020a9d7a8c000000b006e286040848mr2496456otn.0.1707216947772; Tue, 06 Feb 2024 02:55:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707216947; cv=pass; d=google.com; s=arc-20160816; b=1E5LkLZa0XvrfYKFcaI3zN3U8h5J+TD0WUkVZXmKGz5EH8woDcfLlfemYJNF3IoitI MTCuxNNYDdgw24nx7JGof57tDMX+ge9PqryleQQ4ySWHLgneGR6S9y4ckC0YGtACGpOb hGfoJlNyzlHWoq/7cO0eCAZeeS9WqtItX5WQ1V4f7o8u4oD11JwGBm8uGsKcGDjIXdjZ m4juzijxTcz+hWwO/MIySl4JbXTYHbw7tu3fTncbwljL3Pkgf/eGyElQSEg5S8G/EICS OgOItAmo7Ckiyq2EWn7dz0U42o19Gosondjw9QG2tsBP2dwNAaKgkgxSxPxvmC3McmGT I/rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=N9zEjD7qjq20glNDYSVYQumC0+VngEq0X0tAcsA1UIg=; fh=xEGD9Jzbi8MawbG1Hql5ZXmcuoWB4vr0x0LiDRJ2Y0E=; b=btonmz08eZYotRxxkFkNWajLApErM+XeT6VoE1tEcPohoJq7HHsuaW6sZTeh9co1TK BXH9lqYSzXiGmbBMz8ZRviJh6nA2b+gbkqLITKb3wWxkHK9fc/lel7/4zpI58aDC2x5N PzDslMvxg/rBcOIWgnvXnnAa+vnR+rz9FIgSafqwl9EZ1Kgmscqph1Ctt0nw9SyiDuxh zEqxf1Sd5HlIJwIcQMILuNoFwNHy9v93QBN2sffoi6pK06hV17KLx01dlZrq80D/WrMq 5FFAOjNgoAvXcwDcRQ6B3sZKpNmQHC2Ou2SMN1OSPUm8DD+YBDSG2RmPpgjNB+TiupUl 5STA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BcT+27MJ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54714-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCUBMcAY4n21ZZDnSucjW9MCR8uxXinZIzKfTAzpJkizjWI2A9HPFx9HIqnrNMXJmJEuKaTon2qZcrAABShGiKxrR5I9n2jzlB/XzF77+w== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v21-20020a63f215000000b005dbdd60e439si1491964pgh.485.2024.02.06.02.55.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 02:55:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54714-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=BcT+27MJ; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54714-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 33372B2562A for ; Tue, 6 Feb 2024 10:53:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AF0C05C90C; Tue, 6 Feb 2024 10:53:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="BcT+27MJ" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 BD15E4EB46; Tue, 6 Feb 2024 10:53:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707216784; cv=none; b=mLqhjMSIVjtzO8D+cT0jdQkUD9cPN9Eqq7PFp+6/rhsEuqhzQK7IgU7thFDSRsIp7XuPHoYHSKHVMknqJfC3PNpfbg1ds45YfvbE1LTY1M3f/rSCI7ErTTmYBFWG93X+Ml3rqw/Sovwe19qlNZ5pCxjVVQzoYiR0SSzO1OHwQbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707216784; c=relaxed/simple; bh=9uQDvmNZjkwnGeIFN5mlmGI1UDGBBxNEzfYtOgWxsmM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tKHMi7E1KZERRKvKF30LYHGLWUPXomqv2YrZ20GtvoqzPunAB5DadTMqYyrJBcfrzyYcpVA6qWQGtJrP8z29O2+faiUxS0cGLq24OyNc0XnU5RKns3mGA7gU1O+sgtZ332utOux3uFWQQD3+twaBxAJe7ngu70TzINg2pL4JrcI= 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=BcT+27MJ; arc=none smtp.client-ip=198.175.65.21 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707216782; x=1738752782; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9uQDvmNZjkwnGeIFN5mlmGI1UDGBBxNEzfYtOgWxsmM=; b=BcT+27MJsnwSiVbfwzsT9ugDRD8J0k7ocl07M8w0iro6OWJQkH4d/yyD xGRg38enTHGOxpYey2DR9A0LkpRV0VvJiktrG8TaB3P72NDakcgm618am YOaX4hykr7W0J1pEwNPqtoWZ7F4DlDc5WKoDIHHSf3aXHYycN+eqFxBFn 08mZglcxXk+XsziV6gFwax7vLpyiLbi7xl8lkOjfEv2LOQRKRSTl2UT81 B33ZlXBPCDYuVTTREXUKpnA0DTQCofU+p3aFhQfFN35OXBAg9kWZaaz6n XOckbAciZmG4Z6QDnELYnmxFK4o5RKMDML/5AnCQc8c8LWhbdbCXGQxlu Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="631470" X-IronPort-AV: E=Sophos;i="6.05,247,1701158400"; d="scan'208";a="631470" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 02:53:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,247,1701158400"; d="scan'208";a="38410556" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by orviesa001.jf.intel.com with ESMTP; 06 Feb 2024 02:53:01 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rXJ4T-0001II-1W; Tue, 06 Feb 2024 10:52:57 +0000 Date: Tue, 6 Feb 2024 18:52:51 +0800 From: kernel test robot To: Vincent Donnefort , rostedt@goodmis.org, mhiramat@kernel.org, linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Cc: oe-kbuild-all@lists.linux.dev, mathieu.desnoyers@efficios.com, kernel-team@android.com, Vincent Donnefort Subject: Re: [PATCH v14 4/6] tracing: Allow user-space mapping of the ring-buffer Message-ID: <202402061809.T2cv9J8W-lkp@intel.com> References: <20240205163410.2296552-5-vdonnefort@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240205163410.2296552-5-vdonnefort@google.com> Hi Vincent, kernel test robot noticed the following build warnings: [auto build test WARNING on e2412e51fdea837b50ce31fea8e5dfc885237f3a] url: https://github.com/intel-lab-lkp/linux/commits/Vincent-Donnefort/ring-buffer-Zero-ring-buffer-sub-buffers/20240206-004413 base: e2412e51fdea837b50ce31fea8e5dfc885237f3a patch link: https://lore.kernel.org/r/20240205163410.2296552-5-vdonnefort%40google.com patch subject: [PATCH v14 4/6] tracing: Allow user-space mapping of the ring-buffer config: arc-defconfig (https://download.01.org/0day-ci/archive/20240206/202402061809.T2cv9J8W-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240206/202402061809.T2cv9J8W-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/202402061809.T2cv9J8W-lkp@intel.com/ All warnings (new ones prefixed by >>): kernel/trace/trace.c: In function 'tracing_buffers_mmap_close': >> kernel/trace/trace.c:8722:29: warning: unused variable 'tr' [-Wunused-variable] 8722 | struct trace_array *tr = iter->tr; | ^~ kernel/trace/trace.c: In function 'tracing_buffers_mmap': kernel/trace/trace.c:8752:29: warning: unused variable 'tr' [-Wunused-variable] 8752 | struct trace_array *tr = iter->tr; | ^~ vim +/tr +8722 kernel/trace/trace.c 8717 8718 static void tracing_buffers_mmap_close(struct vm_area_struct *vma) 8719 { 8720 struct ftrace_buffer_info *info = vma->vm_file->private_data; 8721 struct trace_iterator *iter = &info->iter; > 8722 struct trace_array *tr = iter->tr; 8723 8724 ring_buffer_unmap(iter->array_buffer->buffer, iter->cpu_file); 8725 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki