Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2741828pxb; Mon, 31 Jan 2022 03:22:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzPidFu7Vb3+q1FNHISyLKObhCbdU+RnlmHXpLCumX6zTvBEEF6ot/Rd6hBStL9hvCw4qXj X-Received: by 2002:a17:907:7e89:: with SMTP id qb9mr16865526ejc.575.1643628148045; Mon, 31 Jan 2022 03:22:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643628148; cv=none; d=google.com; s=arc-20160816; b=PoVfttHHaaX0OaeZIrBnaIg0ajzm2sn613c8Ptx3RbkQrR+XeDu/9if+WeLWAdegDX 63RFJygz+/2s+UNcwhYs9/pquxXgktakPuj+F4UWqW7TXpwlMY4YvgCsgvFKDJdzRxLt 1JmzG27UmOmdveKSlswiokxRG215dhqdoimcAili+3nttSXuJAg7LrBLLXZey0zoLK+Y c09n39xnk4DZ62pxBOtCVn8PPFi3vBD8Vo5zofxs3glND9+pHqS53MlzRtB3fihwG4Cj 04z5OfOBaMsP/bkLCD5P9os3MK/Kt1rnorsg3yefo76ga58MikbWtwKi/rTRrfcYIoIn f7Bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QlKKOr5TXGMmJTdnXlUJZLj0iTFkbzMLnihL+8Ylt6k=; b=QL384kNWKEqJ9TGRzrXbKk+lrUSC7IbtX0bT+F1qi/nJWrV5NhxYy4ruV8JSU85PqC FB20lt6l0FMRWo3O9eKQEZNm3SfLLTOrP9z7ZwBhYF6UwbHPs3P7GXwjUWojd9jl1Q3n 35rFbQM15/TEkH66r/R7fTexy00z2tLO0+z73njNkjIcc2YFfNrMuxexBp0CQMbzoI0V 82GKExelaNLtaQg0W8GJbUeaOo95SThhqteOXrJfaE/QIm2BPfmFVd4btBmMF3o+z4AV tmQczsa+sDrsPHVaxnCFe18ySVw2dr72EAHkIV6J1ZNr0t+Q+3Rw2o7TslDEIv5HGeXV WmdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lkE8sOiC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd2si6149222ejc.882.2022.01.31.03.22.03; Mon, 31 Jan 2022 03:22:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lkE8sOiC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350470AbiA1RKg (ORCPT + 99 others); Fri, 28 Jan 2022 12:10:36 -0500 Received: from mga02.intel.com ([134.134.136.20]:45625 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245716AbiA1RKf (ORCPT ); Fri, 28 Jan 2022 12:10:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643389835; x=1674925835; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kgXvkvGlDf1JVTYkFL7dYdiuifP4CeQljPpc6IyMVvA=; b=lkE8sOiCpd6XsO4+ra6Otx5s2W7PFeLkj3a9q7l7Ke3TGuYmezd/qJg4 dLQySUy9tHAQj/lZamklZkT5vWuKU+G9rzd9l/5pW2Uuozu5/5Qz3QRZb yuQ+nn4oqF8qQBRV2sFtBHNYT3ONZbWc+Xk4QofWQVRAIS/RCLsGsRKFu llXBLfonq9ZiukJ/tw+6171Y+JInM1fPSmB61prhz4kOZ16EAxI1imbgO Pa+1tGL8b4qdUY7EvahWBAQrvuiYWyHASdeHMqeLirH3TcPQZ8RYmdHvk cIhJQ9oPMYqJOkdCiB0iPhgW2X0v0zNsYsODHi9IrnHkWhQygmN1iGgyc A==; X-IronPort-AV: E=McAfee;i="6200,9189,10240"; a="234543267" X-IronPort-AV: E=Sophos;i="5.88,324,1635231600"; d="scan'208";a="234543267" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Jan 2022 09:06:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,324,1635231600"; d="scan'208";a="533563875" Received: from lkp-server01.sh.intel.com (HELO 276f1b88eecb) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 28 Jan 2022 09:06:38 -0800 Received: from kbuild by 276f1b88eecb with local (Exim 4.92) (envelope-from ) id 1nDUhq-000O76-4k; Fri, 28 Jan 2022 17:06:38 +0000 Date: Sat, 29 Jan 2022 01:06:32 +0800 From: kernel test robot To: zhanglianjie , keescook@chromium.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, yzaikin@google.com, mcgrof@kernel.org, akpm@linux-foundation.org, zhanglianjie Subject: Re: [PATCH] mm: move page-writeback sysctls to is own file Message-ID: <202201290141.GDKdUC72-lkp@intel.com> References: <20220128091901.18074-1-zhanglianjie@uniontech.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220128091901.18074-1-zhanglianjie@uniontech.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi zhanglianjie, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.17-rc1 next-20220128] [cannot apply to hnaz-mm/master linux/master kees/for-next/pstore] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/zhanglianjie/mm-move-page-writeback-sysctls-to-is-own-file/20220128-172052 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 23a46422c56144939c091c76cf389aa863ce9c18 config: arm64-buildonly-randconfig-r005-20220127 (https://download.01.org/0day-ci/archive/20220129/202201290141.GDKdUC72-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 33b45ee44b1f32ffdbc995e6fec806271b4b3ba4) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/0day-ci/linux/commit/d24502aa729978894feb2de10481cd139ae5bb42 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review zhanglianjie/mm-move-page-writeback-sysctls-to-is-own-file/20220128-172052 git checkout d24502aa729978894feb2de10481cd139ae5bb42 # 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=arm64 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): mm/page-writeback.c:509:5: warning: no previous prototype for function 'dirty_background_ratio_handler' [-Wmissing-prototypes] int dirty_background_ratio_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:509:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dirty_background_ratio_handler(struct ctl_table *table, int write, ^ static mm/page-writeback.c:520:5: warning: no previous prototype for function 'dirty_background_bytes_handler' [-Wmissing-prototypes] int dirty_background_bytes_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:520:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dirty_background_bytes_handler(struct ctl_table *table, int write, ^ static mm/page-writeback.c:531:5: warning: no previous prototype for function 'dirty_ratio_handler' [-Wmissing-prototypes] int dirty_ratio_handler(struct ctl_table *table, int write, void *buffer, ^ mm/page-writeback.c:531:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dirty_ratio_handler(struct ctl_table *table, int write, void *buffer, ^ static mm/page-writeback.c:545:5: warning: no previous prototype for function 'dirty_bytes_handler' [-Wmissing-prototypes] int dirty_bytes_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:545:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dirty_bytes_handler(struct ctl_table *table, int write, ^ static mm/page-writeback.c:2002:5: warning: no previous prototype for function 'dirty_writeback_centisecs_handler' [-Wmissing-prototypes] int dirty_writeback_centisecs_handler(struct ctl_table *table, int write, ^ mm/page-writeback.c:2002:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int dirty_writeback_centisecs_handler(struct ctl_table *table, int write, ^ static >> mm/page-writeback.c:93:28: warning: unused variable 'dirty_bytes_min' [-Wunused-const-variable] static const unsigned long dirty_bytes_min = 2 * PAGE_SIZE; ^ 6 warnings 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