* [josef-btrfs:master 9/11] fs/btrfs/extent_io.c:4707:61: warning: overflow in implicit constant conversion
@ 2016-10-20 21:04 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-10-20 21:04 UTC (permalink / raw)
To: Josef Bacik; +Cc: kbuild-all, linux-btrfs
[-- Attachment #1: Type: text/plain, Size: 1838 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git master
head: 570b2b152bf32db746eb6de1a144491b5f7ca34f
commit: 2d700e7883ba3aad07fa80214b66ed142cbc5ecc [9/11] Btrfs: kill the btree_inode
config: x86_64-randconfig-x015-201642 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 2d700e7883ba3aad07fa80214b66ed142cbc5ecc
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
fs/btrfs/extent_io.c: In function 'btrfs_release_extent_buffer_page':
>> fs/btrfs/extent_io.c:4707:61: warning: overflow in implicit constant conversion [-Woverflow]
mod_node_page_state(page_pgdat(page), NR_METADATA_BYTES, -PAGE_SIZE);
^
vim +4707 fs/btrfs/extent_io.c
4691 index = num_extent_pages(eb->start, eb->len);
4692 if (index == 0)
4693 return;
4694
4695 ASSERT(!test_bit(EXTENT_BUFFER_DIRTY, &eb->bflags));
4696 do {
4697 index--;
4698 page = eb->pages[index];
4699 if (!page)
4700 continue;
4701 ASSERT(PagePrivate(page));
4702 ASSERT(page->private == (unsigned long)eb);
4703 ClearPagePrivate(page);
4704 set_page_private(page, 0);
4705
4706 if (!test_bit(EXTENT_BUFFER_DUMMY, &eb->bflags))
> 4707 mod_node_page_state(page_pgdat(page), NR_METADATA_BYTES, -PAGE_SIZE);
4708 if (current->reclaim_state)
4709 current->reclaim_state->reclaimed_slab++;
4710
4711 /* Once for the page private. */
4712 put_page(page);
4713
4714 /* Once for the alloc_page. */
4715 put_page(page);
---
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: 26699 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-10-20 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20 21:04 [josef-btrfs:master 9/11] fs/btrfs/extent_io.c:4707:61: warning: overflow in implicit constant conversion kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).