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 DDB1BC433FE for ; Sun, 13 Feb 2022 23:45:24 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id ECED56B0072; Sun, 13 Feb 2022 18:45:23 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id E57636B0073; Sun, 13 Feb 2022 18:45:23 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id CF7B46B0078; Sun, 13 Feb 2022 18:45:23 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0112.hostedemail.com [216.40.44.112]) by kanga.kvack.org (Postfix) with ESMTP id B92B86B0072 for ; Sun, 13 Feb 2022 18:45:23 -0500 (EST) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 705D5180FC14E for ; Sun, 13 Feb 2022 23:45:23 +0000 (UTC) X-FDA: 79139390526.20.0BECAB1 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf07.hostedemail.com (Postfix) with ESMTP id 675A540004 for ; Sun, 13 Feb 2022 23:45:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644795922; x=1676331922; h=date:from:to:cc:subject:message-id:mime-version; bh=QkeBktSYu7Zbm4nVXAP95se/pEHPyFg+wEqC9VvLHs0=; b=T0h8XXnmN7yXVKzQJlZfTR3ACGm39KSymOtZrIfDC8CTOpxZ9O6OxlIV OUCAyyF4AD3CdsudGFslhgx8+qt3p58EdpDEA0g3fMTUPjsRlp62mWQhx F4ZjQE/6qYEZNtd5HwxRNz+5mIBBRUZsQp5nFPnDoGMBXGy6K387yZygI EkjF6VUddV0ckIJS/LteDjImRooAHO3i1az7Ou2Eg36NdluhrzFapRtO6 UnVaRgHHSupgdX+S/uUJfjaeYNYI37vMSFDUsbujOnVsWO1p+iDvugymE qYWMDk4k46q581v0NeRomERoge7gXMMOPC4dSPnmO8ZzbtW+OoVVsv/zr Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10257"; a="336408982" X-IronPort-AV: E=Sophos;i="5.88,366,1635231600"; d="scan'208";a="336408982" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Feb 2022 15:45:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,366,1635231600"; d="scan'208";a="501442416" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga002.jf.intel.com with ESMTP; 13 Feb 2022 15:45:19 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nJOYQ-00080T-FY; Sun, 13 Feb 2022 23:45:18 +0000 Date: Mon, 14 Feb 2022 07:44:34 +0800 From: kernel test robot To: zhanglianjie Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Andrew Morton Subject: [linux-next:master 5127/5417] mm/page-writeback.c:93:28: error: unused variable 'dirty_bytes_min' Message-ID: <202202140744.t6UIHhn5-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: rspam01 X-Rspamd-Queue-Id: 675A540004 X-Stat-Signature: rxnnzqegmobtqagg4hoiupw8qeaqs6at X-Rspam-User: Authentication-Results: imf07.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=T0h8XXnm; dmarc=pass (policy=none) header.from=intel.com; spf=none (imf07.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com X-HE-Tag: 1644795922-49091 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6d9bd4ad4ca08b1114e814c2c42383b8b13be631 commit: 3eb7a613cb25789b954064cf6e310f6b5ca92c03 [5127/5417] mm: move page-writeback sysctls to their own file config: hexagon-randconfig-r041-20220213 (https://download.01.org/0day-ci/archive/20220214/202202140744.t6UIHhn5-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project ea071884b0cc7210b3cc5fe858f0e892a779a23b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=3eb7a613cb25789b954064cf6e310f6b5ca92c03 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 3eb7a613cb25789b954064cf6e310f6b5ca92c03 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon 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:93:28: error: unused variable 'dirty_bytes_min' [-Werror,-Wunused-const-variable] static const unsigned long dirty_bytes_min = 2 * PAGE_SIZE; ^ mm/page-writeback.c:509:12: error: unused function 'dirty_background_ratio_handler' [-Werror,-Wunused-function] static int dirty_background_ratio_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:520:12: error: unused function 'dirty_background_bytes_handler' [-Werror,-Wunused-function] static int dirty_background_bytes_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:531:12: error: unused function 'dirty_ratio_handler' [-Werror,-Wunused-function] static int dirty_ratio_handler(struct ctl_table *table, int write, void *buffer, ^ mm/page-writeback.c:545:12: error: unused function 'dirty_bytes_handler' [-Werror,-Wunused-function] static int dirty_bytes_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:2002:12: error: unused function 'dirty_writeback_centisecs_handler' [-Werror,-Wunused-function] static int dirty_writeback_centisecs_handler(struct ctl_table *table, int write, ^ 6 errors generated. 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