From: kbuild test robot <lkp@intel.com>
To: Elena Reshetova <elena.reshetova@intel.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
linux-mm@kvack.org, peterz@infradead.org,
gregkh@linuxfoundation.org, viro@zeniv.linux.org.uk,
catalin.marinas@arm.com, mingo@redhat.com,
akpm@linux-foundation.org, arnd@arndb.de, luto@kernel.org,
Hans Liljestrand <ishkamiel@gmail.com>,
Kees Cook <keescook@chromium.org>,
David Windsor <dwindsor@gmail.com>
Subject: Re: [PATCH 5/5] mm: convert mm_struct.mm_count from atomic_t to refcount_t
Date: Mon, 20 Feb 2017 21:16:03 +0800 [thread overview]
Message-ID: <201702202139.xsH0VRdz%fengguang.wu@intel.com> (raw)
In-Reply-To: <1487587754-10610-6-git-send-email-elena.reshetova@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3571 bytes --]
Hi Elena,
[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170220]
[cannot apply to linus/master linux/master v4.10]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Elena-Reshetova/mm-subsystem-refcounter-conversions/20170220-190351
base: git://git.cmpxchg.org/linux-mmotm.git master
config: blackfin-BF561-EZKIT-SMP_defconfig (attached as .config)
compiler: bfin-uclinux-gcc (GCC) 6.2.0
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=blackfin
All errors (new ones prefixed by >>):
arch/blackfin/mach-common/smp.c: In function 'cpu_die':
>> arch/blackfin/mach-common/smp.c:426:13: error: passing argument 1 of 'atomic_dec' from incompatible pointer type [-Werror=incompatible-pointer-types]
atomic_dec(&init_mm.mm_count);
^
In file included from arch/blackfin/include/asm/atomic.h:45:0,
from include/linux/atomic.h:4,
from arch/blackfin/include/asm/spinlock.h:14,
from include/linux/spinlock.h:87,
from include/linux/seqlock.h:35,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from arch/blackfin/mach-common/smp.c:10:
include/asm-generic/atomic.h:211:20: note: expected 'atomic_t * {aka struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
static inline void atomic_dec(atomic_t *v)
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/atomic_dec +426 arch/blackfin/mach-common/smp.c
0b39db28 Graf Yang 2009-12-28 410 return -EPERM;
0b39db28 Graf Yang 2009-12-28 411
0b39db28 Graf Yang 2009-12-28 412 set_cpu_online(cpu, false);
0b39db28 Graf Yang 2009-12-28 413 return 0;
0b39db28 Graf Yang 2009-12-28 414 }
0b39db28 Graf Yang 2009-12-28 415
13dff62d Paul Gortmaker 2013-06-18 416 int __cpu_die(unsigned int cpu)
0b39db28 Graf Yang 2009-12-28 417 {
a17b4b74 Paul E. McKenney 2015-02-26 418 return cpu_wait_death(cpu, 5);
0b39db28 Graf Yang 2009-12-28 419 }
0b39db28 Graf Yang 2009-12-28 420
0b39db28 Graf Yang 2009-12-28 421 void cpu_die(void)
0b39db28 Graf Yang 2009-12-28 422 {
a17b4b74 Paul E. McKenney 2015-02-26 423 (void)cpu_report_death();
0b39db28 Graf Yang 2009-12-28 424
afdf6066 Elena Reshetova 2017-02-20 425 refcount_dec(&init_mm.mm_users);
0b39db28 Graf Yang 2009-12-28 @426 atomic_dec(&init_mm.mm_count);
0b39db28 Graf Yang 2009-12-28 427
0b39db28 Graf Yang 2009-12-28 428 local_irq_disable();
0b39db28 Graf Yang 2009-12-28 429 platform_cpu_die();
0b39db28 Graf Yang 2009-12-28 430 }
0b39db28 Graf Yang 2009-12-28 431 #endif
:::::: The code at line 426 was first introduced by commit
:::::: 0b39db28b953945232719e7ff6fb802aa8a2be5f Blackfin: SMP: add PM/CPU hotplug support
:::::: TO: Graf Yang <graf.yang@analog.com>
:::::: CC: Mike Frysinger <vapier@gentoo.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 10736 bytes --]
next prev parent reply other threads:[~2017-02-20 13:16 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 10:49 [PATCH 0/5] mm subsystem refcounter conversions Elena Reshetova
2017-02-20 10:49 ` [PATCH 1/5] mm: convert bdi_writeback_congested.refcnt from atomic_t to refcount_t Elena Reshetova
2017-02-20 11:33 ` kbuild test robot
2017-02-20 10:49 ` [PATCH 2/5] mm: convert anon_vma.refcount " Elena Reshetova
2017-04-22 10:44 ` zhong jiang
2017-04-24 10:20 ` Reshetova, Elena
2017-02-20 10:49 ` [PATCH 3/5] mm: convert kmemleak_object.use_count " Elena Reshetova
2017-02-20 10:49 ` [PATCH 4/5] mm: convert mm_struct.mm_users " Elena Reshetova
2017-02-20 11:46 ` kbuild test robot
2017-02-20 10:49 ` [PATCH 5/5] mm: convert mm_struct.mm_count " Elena Reshetova
2017-02-20 13:16 ` kbuild test robot [this message]
2017-02-21 9:58 [PATCH 0/5] mm subsystem refcounter conversions Elena Reshetova
2017-02-21 9:58 ` [PATCH 5/5] mm: convert mm_struct.mm_count from atomic_t to refcount_t Elena Reshetova
2017-06-27 11:48 [PATCH 0/5] v2 mm subsystem refcounter conversions Elena Reshetova
2017-06-27 11:48 ` [PATCH 5/5] mm: convert mm_struct.mm_count from atomic_t to refcount_t Elena Reshetova
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=201702202139.xsH0VRdz%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=dwindsor@gmail.com \
--cc=elena.reshetova@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=ishkamiel@gmail.com \
--cc=kbuild-all@01.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=luto@kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=viro@zeniv.linux.org.uk \
/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