From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id B93AAC433EF for ; Sun, 13 Feb 2022 11:30:56 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CB7AF6B0072; Sun, 13 Feb 2022 06:30:55 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C66D96B0073; Sun, 13 Feb 2022 06:30:55 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B7D9A6B0078; Sun, 13 Feb 2022 06:30:55 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0192.hostedemail.com [216.40.44.192]) by kanga.kvack.org (Postfix) with ESMTP id ABC626B0072 for ; Sun, 13 Feb 2022 06:30:55 -0500 (EST) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 5AF6E181AC9C6 for ; Sun, 13 Feb 2022 11:30:55 +0000 (UTC) X-FDA: 79137539670.31.1C178AE Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by imf13.hostedemail.com (Postfix) with ESMTP id 42C8120007 for ; Sun, 13 Feb 2022 11:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644751854; x=1676287854; h=date:from:to:cc:subject:message-id:mime-version; bh=RnzVlUtfTW9FBqEvEPVHHM+2qy8cCICbEO1yHb+x50s=; b=Pc7ZDR9iy5GOWMxyBwcTFY0bHdZhTJppZ5fgGaGO3SxlO2wCJf49qExc 2QAi94lWRakvj9hbqgz9FVuo89kTn/VyVdRB+37+vyWRYEaSnpqW3gzAk n7TzA0NaOP1Ok3zPlsBQKvx7wiQDQKONNEapasR9dtnVyN6ewIupQ0h4+ 0mMzHfQx1LvlDgRdjyrdZLqe/fBFj0RELfjhXtusbmxWj7SjIJ5hWkPmo teqWgP0q7AVUW1UNWs+c386gHe3zOPBr6E2sIa9OSSAVMfi6/inJAcl6n ike+eZX+umK6SqyvP1eTTtJDtKnX8IFu6etC2hIPbaaKdEryOvbOEEGJH Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10256"; a="313222370" X-IronPort-AV: E=Sophos;i="5.88,365,1635231600"; d="scan'208";a="313222370" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 03:30:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,365,1635231600"; d="scan'208";a="623637840" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 13 Feb 2022 03:30:50 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nJD5e-0007QW-Aq; Sun, 13 Feb 2022 11:30:50 +0000 Date: Sun, 13 Feb 2022 19:30:43 +0800 From: kernel test robot To: zhanglianjie Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Johannes Weiner , Andrew Morton , Linux Memory Management List Subject: [hnaz-mm:master 92/304] mm/page-writeback.c:93:28: error: 'dirty_bytes_min' defined but not used Message-ID: <202202131948.o0qQogUI-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 42C8120007 X-Stat-Signature: gfjxma8iefbj8n5ueihr7ixoirw7dsac X-Rspam-User: Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=Pc7ZDR9i; spf=none (imf13.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.100) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-HE-Tag: 1644751854-661789 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://github.com/hnaz/linux-mm master head: 31e523f69aa14a1f4ba298c63034d8dc62c4aae7 commit: d2d94dec619e0ab7f6805f3bc6e7932d71bfe765 [92/304] mm: move page-writeback sysctls to their own file config: powerpc64-randconfig-s032-20220213 (https://download.01.org/0day-ci/archive/20220213/202202131948.o0qQogUI-lkp@intel.com/config) compiler: powerpc64-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/hnaz/linux-mm/commit/d2d94dec619e0ab7f6805f3bc6e7932d71bfe765 git remote add hnaz-mm https://github.com/hnaz/linux-mm git fetch --no-tags hnaz-mm master git checkout d2d94dec619e0ab7f6805f3bc6e7932d71bfe765 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=powerpc SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): mm/page-writeback.c:2002:12: error: 'dirty_writeback_centisecs_handler' defined but not used [-Werror=unused-function] 2002 | static int dirty_writeback_centisecs_handler(struct ctl_table *table, int write, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/page-writeback.c:545:12: error: 'dirty_bytes_handler' defined but not used [-Werror=unused-function] 545 | static int dirty_bytes_handler(struct ctl_table *table, int write, | ^~~~~~~~~~~~~~~~~~~ mm/page-writeback.c:531:12: error: 'dirty_ratio_handler' defined but not used [-Werror=unused-function] 531 | static int dirty_ratio_handler(struct ctl_table *table, int write, void *buffer, | ^~~~~~~~~~~~~~~~~~~ mm/page-writeback.c:520:12: error: 'dirty_background_bytes_handler' defined but not used [-Werror=unused-function] 520 | static int dirty_background_bytes_handler(struct ctl_table *table, int write, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm/page-writeback.c:509:12: error: 'dirty_background_ratio_handler' defined but not used [-Werror=unused-function] 509 | static int dirty_background_ratio_handler(struct ctl_table *table, int write, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> mm/page-writeback.c:93:28: error: 'dirty_bytes_min' defined but not used [-Werror=unused-const-variable=] 93 | static const unsigned long dirty_bytes_min = 2 * PAGE_SIZE; | ^~~~~~~~~~~~~~~ cc1: all warnings being treated as errors vim +/dirty_bytes_min +93 mm/page-writeback.c 91 92 /* this is needed for the proc_doulongvec_minmax of vm_dirty_bytes */ > 93 static const unsigned long dirty_bytes_min = 2 * PAGE_SIZE; 94 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org