mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: cgel.zte@gmail.com, bsingharora@gmail.com
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	linux-kernel@vger.kernel.org, Yang Yang <yang.yang29@zte.com.cn>
Subject: Re: [PATCH] delayacct: optimize delayacct init
Date: Wed, 15 Sep 2021 11:41:39 +0800	[thread overview]
Message-ID: <202109151110.3xw55qrO-lkp@intel.com> (raw)
In-Reply-To: <20210911074120.51914-1-yang.yang29@zte.com.cn>

[-- Attachment #1: Type: text/plain, Size: 2625 bytes --]

Hi,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.15-rc1 next-20210914]
[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/cgel-zte-gmail-com/delayacct-optimize-delayacct-init/20210911-154431
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 926de8c4326c14fcf35f1de142019043597a4fac
config: i386-buildonly-randconfig-r002-20210914 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 261cbe98c38f8c1ee1a482fe76511110e790f58a)
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://github.com/0day-ci/linux/commit/13937a322a0ed37df1fc1db042d5128ec677af02
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review cgel-zte-gmail-com/delayacct-optimize-delayacct-init/20210911-154431
        git checkout 13937a322a0ed37df1fc1db042d5128ec677af02
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> kernel/delayacct.c:21:13: error: unused function 'set_delayacct' [-Werror,-Wunused-function]
   static void set_delayacct(bool enabled)
               ^
   1 error generated.


vim +/set_delayacct +21 kernel/delayacct.c

ca74e92b469827 Shailabh Nagar 2006-07-14  20  
0cd7c741f01de1 Peter Zijlstra 2021-05-10 @21  static void set_delayacct(bool enabled)
0cd7c741f01de1 Peter Zijlstra 2021-05-10  22  {
0cd7c741f01de1 Peter Zijlstra 2021-05-10  23  	if (enabled) {
0cd7c741f01de1 Peter Zijlstra 2021-05-10  24  		static_branch_enable(&delayacct_key);
0cd7c741f01de1 Peter Zijlstra 2021-05-10  25  		delayacct_on = 1;
0cd7c741f01de1 Peter Zijlstra 2021-05-10  26  	} else {
0cd7c741f01de1 Peter Zijlstra 2021-05-10  27  		delayacct_on = 0;
0cd7c741f01de1 Peter Zijlstra 2021-05-10  28  		static_branch_disable(&delayacct_key);
0cd7c741f01de1 Peter Zijlstra 2021-05-10  29  	}
0cd7c741f01de1 Peter Zijlstra 2021-05-10  30  }
0cd7c741f01de1 Peter Zijlstra 2021-05-10  31  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 31590 bytes --]

      reply	other threads:[~2021-09-15  3:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11  7:41 cgel.zte
2021-09-15  3:41 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202109151110.3xw55qrO-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=bsingharora@gmail.com \
    --cc=cgel.zte@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=yang.yang29@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®