Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1584549
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!news.unit0.net!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | kbuild test robot <lkp@intel.com> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/5] mm: convert bdi_writeback_congested.refcnt from atomic_t to refcount_t |
| Date | Mon, 20 Feb 2017 12:40:01 +0100 |
| Message-ID | <tcUtX-453-13@gated-at.bofh.it> (permalink) |
| References | <tcTHz-3xn-3@gated-at.bofh.it> |
| X-Original-To | Elena Reshetova <elena.reshetova@intel.com> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.35,186,1484035200"; d="gz'50?scan'50,208,50";a="826332751" |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="WIyZ46R2i8wDzkSu" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| X-Sa-Exim-Connect-IP | <locally generated> |
| X-Sa-Exim-Mail-From | fengguang.wu@intel.com |
| X-Sa-Exim-Scanned | No (on bee); SAEximRunCond expanded to false |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 190 |
| Organization | linux.* mail to news gateway |
| X-Original-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, Elena Reshetova <elena.reshetova@intel.com>, Hans Liljestrand <ishkamiel@gmail.com>, Kees Cook <keescook@chromium.org>, David Windsor <dwindsor@gmail.com> |
| X-Original-Date | Mon, 20 Feb 2017 19:33:38 +0800 |
| X-Original-Message-ID | <201702201956.cDtbZDDT%fengguang.wu@intel.com> |
| X-Original-References | <1487587754-10610-2-git-send-email-elena.reshetova@intel.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1584549 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Elena,
[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170220]
[cannot apply to linus/master linux/master]
[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: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
mm/backing-dev.c: In function 'cgwb_bdi_init':
>> mm/backing-dev.c:798:13: error: passing argument 1 of 'atomic_set' from incompatible pointer type [-Werror=incompatible-pointer-types]
atomic_set(&bdi->wb_congested->refcnt, 1);
^
In file included from include/linux/atomic.h:4:0,
from arch/x86/include/asm/thread_info.h:53,
from include/linux/thread_info.h:25,
from arch/x86/include/asm/preempt.h:6,
from include/linux/preempt.h:59,
from include/linux/spinlock.h:50,
from include/linux/wait.h:8,
from mm/backing-dev.c:2:
arch/x86/include/asm/atomic.h:36:29: note: expected 'atomic_t * {aka struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
static __always_inline void atomic_set(atomic_t *v, int i)
^~~~~~~~~~
cc1: some warnings being treated as errors
vim +/atomic_set +798 mm/backing-dev.c
a13f35e8 Tejun Heo 2015-07-02 792 int err;
a13f35e8 Tejun Heo 2015-07-02 793
a13f35e8 Tejun Heo 2015-07-02 794 bdi->wb_congested = kzalloc(sizeof(*bdi->wb_congested), GFP_KERNEL);
a13f35e8 Tejun Heo 2015-07-02 795 if (!bdi->wb_congested)
a13f35e8 Tejun Heo 2015-07-02 796 return -ENOMEM;
a13f35e8 Tejun Heo 2015-07-02 797
d3036542 mmotm auto import 2017-02-18 @798 atomic_set(&bdi->wb_congested->refcnt, 1);
d3036542 mmotm auto import 2017-02-18 799
a13f35e8 Tejun Heo 2015-07-02 800 err = wb_init(&bdi->wb, bdi, 1, GFP_KERNEL);
a13f35e8 Tejun Heo 2015-07-02 801 if (err) {
:::::: The code at line 798 was first introduced by commit
:::::: d3036542f0baefd61fb18ce9023c2cd96c89349c linux-next
:::::: TO: mmotm auto import <mm-commits@vger.kernel.org>
:::::: CC: Johannes Weiner <hannes@cmpxchg.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/5] mm: convert bdi_writeback_congested.refcnt from atomic_t to refcount_t Elena Reshetova <elena.reshetova@intel.com> - 2017-02-20 11:50 +0100 Re: [PATCH 1/5] mm: convert bdi_writeback_congested.refcnt from atomic_t to refcount_t kbuild test robot <lkp@intel.com> - 2017-02-20 12:40 +0100
csiph-web