[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201604090018.sdzPyLOK%fengguang.wu@intel.com>
Date: Sat, 9 Apr 2016 00:49:09 +0800
From: kbuild test robot <lkp@...el.com>
To: Waiman Long <Waiman.Long@....com>
Cc: kbuild-all@...org, Theodore Ts'o <tytso@....edu>,
Andreas Dilger <adilger.kernel@...ger.ca>,
Tejun Heo <tj@...nel.org>, Christoph Lameter <cl@...ux.com>,
linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org,
Scott J Norton <scott.norton@....com>,
Douglas Hatch <doug.hatch@....com>,
Toshimitsu Kani <toshi.kani@....com>,
Waiman Long <Waiman.Long@....com>
Subject: Re: [PATCH v2 1/4] percpu_stats: Simple per-cpu statistics count
helper functions
Hi Waiman,
[auto build test ERROR on ext4/dev]
[also build test ERROR on v4.6-rc2 next-20160408]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Waiman-Long/ext4-Improve-parallel-I-O-performance-on-NVDIMM/20160409-002128
base: https://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git dev
config: alpha-defconfig (attached as .config)
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=alpha
Note: the linux-review/Waiman-Long/ext4-Improve-parallel-I-O-performance-on-NVDIMM/20160409-002128 HEAD 712a939b92b9178cb79df4050bba8e6b1d03ca63 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from lib/percpu_stats.c:5:0:
include/linux/percpu_stats.h: In function 'percpu_stats_add':
>> include/linux/percpu_stats.h:29:2: error: implicit declaration of function 'raw_local_irq_save' [-Werror=implicit-function-declaration]
this_cpu_add(pcs->stats[stat], cnt);
^
>> include/linux/percpu_stats.h:29:2: error: implicit declaration of function 'raw_local_irq_restore' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
vim +/raw_local_irq_save +29 include/linux/percpu_stats.h
23 * @cnt: The value to be added to the statistics count
24 */
25 static inline void
26 percpu_stats_add(struct percpu_stats *pcs, int stat, int cnt)
27 {
28 BUG_ON((unsigned int)stat >= pcs->nstats);
> 29 this_cpu_add(pcs->stats[stat], cnt);
30 }
31
32 static inline void percpu_stats_inc(struct percpu_stats *pcs, int stat)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (11925 bytes)
Powered by blists - more mailing lists