From: kbuild test robot <lkp@intel.com>
To: Alexander Duyck <alexander.duyck@gmail.com>
Cc: kbuild-all@01.org, intel-wired-lan@lists.osuosl.org,
jeffrey.t.kirsher@intel.com, linux-mm@kvack.org,
akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [Intel-wired-lan] [next PATCH v3 1/3] mm: Rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_free
Date: Wed, 4 Jan 2017 08:58:26 +0800 [thread overview]
Message-ID: <201701040815.YtW6y7i3%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170103171024.5144.17036.stgit@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 3192 bytes --]
Hi Alexander,
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.10-rc2 next-20170103]
[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/Alexander-Duyck/Page-fragment-updates/20170104-080239
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-randconfig-x003-201701 (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
Note: the linux-review/Alexander-Duyck/Page-fragment-updates/20170104-080239 HEAD 81fa8f8a69c1b7187ae789eb536cdfcb3263d366 builds fine.
It only hurts bisectibility.
All error/warnings (new ones prefixed by >>):
net/core/skbuff.c: In function '__netdev_alloc_frag':
>> net/core/skbuff.c:372:9: error: implicit declaration of function 'page_frag_alloc' [-Werror=implicit-function-declaration]
data = page_frag_alloc(nc, fragsz, gfp_mask);
^~~~~~~~~~~~~~~
>> net/core/skbuff.c:372:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
data = page_frag_alloc(nc, fragsz, gfp_mask);
^
net/core/skbuff.c: In function '__napi_alloc_frag':
>> net/core/skbuff.c:394:9: warning: return makes pointer from integer without a cast [-Wint-conversion]
return page_frag_alloc(&nc->page, fragsz, gfp_mask);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
net/core/skbuff.c: In function '__netdev_alloc_skb':
net/core/skbuff.c:444:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
data = page_frag_alloc(nc, len, gfp_mask);
^
net/core/skbuff.c: In function '__napi_alloc_skb':
net/core/skbuff.c:508:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
data = page_frag_alloc(&nc->page, len, gfp_mask);
^
cc1: some warnings being treated as errors
vim +/page_frag_alloc +372 net/core/skbuff.c
366 struct page_frag_cache *nc;
367 unsigned long flags;
368 void *data;
369
370 local_irq_save(flags);
371 nc = this_cpu_ptr(&netdev_alloc_cache);
> 372 data = page_frag_alloc(nc, fragsz, gfp_mask);
373 local_irq_restore(flags);
374 return data;
375 }
376
377 /**
378 * netdev_alloc_frag - allocate a page fragment
379 * @fragsz: fragment size
380 *
381 * Allocates a frag from a page for receive buffer.
382 * Uses GFP_ATOMIC allocations.
383 */
384 void *netdev_alloc_frag(unsigned int fragsz)
385 {
386 return __netdev_alloc_frag(fragsz, GFP_ATOMIC | __GFP_COLD);
387 }
388 EXPORT_SYMBOL(netdev_alloc_frag);
389
390 static void *__napi_alloc_frag(unsigned int fragsz, gfp_t gfp_mask)
391 {
392 struct napi_alloc_cache *nc = this_cpu_ptr(&napi_alloc_cache);
393
> 394 return page_frag_alloc(&nc->page, fragsz, gfp_mask);
395 }
396
397 void *napi_alloc_frag(unsigned int fragsz)
---
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: 25575 bytes --]
next prev parent reply other threads:[~2017-01-04 0:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-03 17:10 [next PATCH v3 0/3] Page fragment updates Alexander Duyck
2017-01-03 17:11 ` [next PATCH v3 1/3] mm: Rename __alloc_page_frag to page_frag_alloc and __free_page_frag to page_frag_free Alexander Duyck
2017-01-04 0:58 ` kbuild test robot [this message]
2017-01-03 17:12 ` [next PATCH v3 2/3] mm: Rename __page_frag functions to __page_frag_cache, drop order from drain Alexander Duyck
2017-01-03 17:12 ` [next PATCH v3 3/3] mm: Add documentation for page fragment APIs Alexander Duyck
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=201701040815.YtW6y7i3%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=alexander.duyck@gmail.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=jeffrey.t.kirsher@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/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®