Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp3961341rdh; Tue, 28 Nov 2023 08:12:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IEA4/j2rKCbuv5XIHeeoHtGFF5qnaA0JHjUyOjT12yqwGuid6dUGAFvQkLHXOUWLlLaaaYl X-Received: by 2002:a17:903:1212:b0:1cc:70dd:62c3 with SMTP id l18-20020a170903121200b001cc70dd62c3mr16036967plh.30.1701187923266; Tue, 28 Nov 2023 08:12:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701187923; cv=none; d=google.com; s=arc-20160816; b=k3DXEZEjb4Zm1HnyfXI37MZxA0AhsW6jcTC5gwCr4qFOXALYEvkMd6CkFpF6w9xeNK 7VO7rLMpcfbYtBWhXS+lXljQCiTlIzY8NUYrA4niK7zfuMUTM6tinwL2XD3X3WQSGqur HXAQeZvQGJm6XUyNc2EJ2W/xXw8Om/OouUJ3Nl67byVpm3Dfh7zxTxkIzGNuUPD+lLeB OeT9xnpkgxv1oD3wQ8iU8oChK/8GYfvJMjXLUV/uaUb0UQ7b+52vAHkCycYsbkxCjaNc 9TWj+v75nLzEbmlyUIbHQqqtGgZ+T8EChMRGSrsY9cEEqJ4zlR8K+7R919T9SrtIzImM RzMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=v8OOLJdR5UIXpz5TkOK3QEYqKPW4OwlAnxNZHawegX0=; fh=wpNkkK6kGLlKF4KN70j+p0G/VFavULCgXYMWxdWPJ8Q=; b=Ls+YZLHoLvXaXqc/3mU4tIQoMj+jWffHvp7GZOfPaDVskryeucOb2kLxYpvYOhisxd DVwMmRq9Ef1m4iU+AVHNIwBlSqtEQO0aCnFeA+ymC1Mfy+7FJaAaDdzN/aGk1ET/W2y2 rzCw1oydfO4+dgfcmuRBCbQilTmvfTqUnmYvgr5IZ4eaTbFjangRbU6NROwBDolLF0aK ND+sYxI+/nC0G+uDH7bbRwarUv2i6GaIuDA5wHNnX58cVTfrCHWACLVwUffue8Xm3S4s rxHhCzn1CCkrZnL0LfqOULmslJBsudkGziBrE2RJmLn0IhQi8dvtpuwhF4Qd7AxHfEZz UT9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n4QgqJiZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id n4-20020a170903110400b001cffe364a3esi1398147plh.233.2023.11.28.08.12.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 08:12:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=n4QgqJiZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 52B55801B907; Tue, 28 Nov 2023 08:11:58 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344168AbjK1QLn (ORCPT + 99 others); Tue, 28 Nov 2023 11:11:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbjK1QLm (ORCPT ); Tue, 28 Nov 2023 11:11:42 -0500 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C7944131 for ; Tue, 28 Nov 2023 08:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701187909; x=1732723909; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=rzhcoBiNb5sbw/XALIsMKDW7hxWSx0E3Q5HsqhBi5L8=; b=n4QgqJiZ1HcjpVza9bn2YysyaMi2SYDi9qwbFTjZ7LYHBtNV+Tv/2f9+ 6Z6cucwDa32s94Z0HOpqFsIUoyEXfwkeUYiikMex4b52JchFtad74tLsO vCmlwQmOTbTgZmenGGJcbqHeY3IZD0FHV49kySA/ASYvOERR0y53FIqN6 A1B9JnU2X1uMMzHjeP8lMp2tZTHrYvSBKxpm5piwgNpIqKnVSsnTgTt9v YzRgHB2QRv3R89AZ3YKQ2BLtC9LfI1vD7EZjpzilOJp/iAgfxGOYflq4N zMGB4suTi9ncb4Ap/vMg6Yu0ku8zZBsWdQ86f7zwprUBL4fP5VyVbNWq3 w==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="11649516" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="11649516" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 08:11:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="941971415" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="941971415" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 28 Nov 2023 08:11:45 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r80gZ-0007ik-1R; Tue, 28 Nov 2023 16:11:43 +0000 Date: Wed, 29 Nov 2023 00:11:07 +0800 From: kernel test robot To: cuiyangpei , sj@kernel.org, akpm@linux-foundation.org, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, cuiyangpei Subject: Re: [PATCH 1/2] mm/damon/sysfs: Implement recording feature Message-ID: <202311290004.B2GD9Xbd-lkp@intel.com> References: <20231128073440.11894-1-cuiyangpei@xiaomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231128073440.11894-1-cuiyangpei@xiaomi.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 28 Nov 2023 08:11:58 -0800 (PST) Hi cuiyangpei, kernel test robot noticed the following build warnings: [auto build test WARNING on akpm-mm/mm-everything] url: https://github.com/intel-lab-lkp/linux/commits/cuiyangpei/mm-damon-core-add-sysfs-nodes-to-set-last_nr_accesses-weight/20231128-194153 base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything patch link: https://lore.kernel.org/r/20231128073440.11894-1-cuiyangpei%40xiaomi.com patch subject: [PATCH 1/2] mm/damon/sysfs: Implement recording feature config: i386-buildonly-randconfig-002-20231128 (https://download.01.org/0day-ci/archive/20231129/202311290004.B2GD9Xbd-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231129/202311290004.B2GD9Xbd-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/202311290004.B2GD9Xbd-lkp@intel.com/ All warnings (new ones prefixed by >>): >> mm/damon/sysfs.c:1415:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 1 warning generated. vim +/count +1415 mm/damon/sysfs.c 1410 1411 static unsigned int nr_damon_targets(struct damon_ctx *ctx) 1412 { 1413 struct damon_target *t; 1414 unsigned int nr_targets = 0; > 1415 int count = 0; 1416 1417 damon_for_each_target(t, ctx) { 1418 count++; 1419 nr_targets++; 1420 } 1421 1422 return nr_targets; 1423 } 1424 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki