public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [glommer-memcg:kmemcg-stack 33/221] drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' undecla
@ 2012-10-05  1:17 Fengguang Wu
  2012-10-05  6:58 ` [glommer-memcg:kmemcg-stack 33/221] drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' und Michal Hocko
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-10-05  1:17 UTC (permalink / raw)
  To: kernel-janitors

Hi Konstantin,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/glommer/memcg.git kmemcg-stack
head:   5ef649339ef370c1858f5471fd8b38a7a82c3b60
commit: aa011e456e6bd7e4179b03289d7501f8c8444809 [33/221] mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
config: x86_64-allmodconfig

Note: the HEAD commit builds fine. It only hurts bisectibility.

All error/warnings:

drivers/vfio/pci/vfio_pci.c: In function 'vfio_pci_mmap':
drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' undeclared (first use in this function)
drivers/vfio/pci/vfio_pci.c:464:28: note: each undeclared identifier is reported only once for each function it appears in
--
drivers/media/video/videobuf-dma-sg.c: In function '__videobuf_mmap_mapper':
drivers/media/video/videobuf-dma-sg.c:585:35: error: 'VM_RESERVED' undeclared (first use in this function)
drivers/media/video/videobuf-dma-sg.c:585:35: note: each undeclared identifier is reported only once for each function it appears in
--
drivers/media/video/videobuf2-memops.c: In function 'vb2_mmap_pfn_range':
drivers/media/video/videobuf2-memops.c:166:36: error: 'VM_RESERVED' undeclared (first use in this function)
drivers/media/video/videobuf2-memops.c:166:36: note: each undeclared identifier is reported only once for each function it appears in

vim +464 drivers/vfio/pci/vfio_pci.c

89e1f7d4 (Alex Williamson 2012-07-31  458) 			return ret;
89e1f7d4 (Alex Williamson 2012-07-31  459) 
89e1f7d4 (Alex Williamson 2012-07-31  460) 		vdev->barmap[index] = pci_iomap(pdev, index, 0);
89e1f7d4 (Alex Williamson 2012-07-31  461) 	}
89e1f7d4 (Alex Williamson 2012-07-31  462) 
89e1f7d4 (Alex Williamson 2012-07-31  463) 	vma->vm_private_data = vdev;
89e1f7d4 (Alex Williamson 2012-07-31 @464) 	vma->vm_flags |= (VM_IO | VM_RESERVED);
89e1f7d4 (Alex Williamson 2012-07-31  465) 	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
89e1f7d4 (Alex Williamson 2012-07-31  466) 
89e1f7d4 (Alex Williamson 2012-07-31  467) 	phys = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff;

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [glommer-memcg:kmemcg-stack 33/221] drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' und
  2012-10-05  1:17 [glommer-memcg:kmemcg-stack 33/221] drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' undecla Fengguang Wu
@ 2012-10-05  6:58 ` Michal Hocko
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Hocko @ 2012-10-05  6:58 UTC (permalink / raw)
  To: kernel-janitors

I have already posted fixup
http://www.spinics.net/lists/linux-mm/msg42993.html

On Fri 05-10-12 09:17:57, Wu Fengguang wrote:
> Hi Konstantin,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/glommer/memcg.git kmemcg-stack
> head:   5ef649339ef370c1858f5471fd8b38a7a82c3b60
> commit: aa011e456e6bd7e4179b03289d7501f8c8444809 [33/221] mm: kill vma flag VM_RESERVED and mm->reserved_vm counter
> config: x86_64-allmodconfig
> 
> Note: the HEAD commit builds fine. It only hurts bisectibility.
> 
> All error/warnings:
> 
> drivers/vfio/pci/vfio_pci.c: In function 'vfio_pci_mmap':
> drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' undeclared (first use in this function)
> drivers/vfio/pci/vfio_pci.c:464:28: note: each undeclared identifier is reported only once for each function it appears in
> --
> drivers/media/video/videobuf-dma-sg.c: In function '__videobuf_mmap_mapper':
> drivers/media/video/videobuf-dma-sg.c:585:35: error: 'VM_RESERVED' undeclared (first use in this function)
> drivers/media/video/videobuf-dma-sg.c:585:35: note: each undeclared identifier is reported only once for each function it appears in
> --
> drivers/media/video/videobuf2-memops.c: In function 'vb2_mmap_pfn_range':
> drivers/media/video/videobuf2-memops.c:166:36: error: 'VM_RESERVED' undeclared (first use in this function)
> drivers/media/video/videobuf2-memops.c:166:36: note: each undeclared identifier is reported only once for each function it appears in
> 
> vim +464 drivers/vfio/pci/vfio_pci.c
> 
> 89e1f7d4 (Alex Williamson 2012-07-31  458) 			return ret;
> 89e1f7d4 (Alex Williamson 2012-07-31  459) 
> 89e1f7d4 (Alex Williamson 2012-07-31  460) 		vdev->barmap[index] = pci_iomap(pdev, index, 0);
> 89e1f7d4 (Alex Williamson 2012-07-31  461) 	}
> 89e1f7d4 (Alex Williamson 2012-07-31  462) 
> 89e1f7d4 (Alex Williamson 2012-07-31  463) 	vma->vm_private_data = vdev;
> 89e1f7d4 (Alex Williamson 2012-07-31 @464) 	vma->vm_flags |= (VM_IO | VM_RESERVED);
> 89e1f7d4 (Alex Williamson 2012-07-31  465) 	vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
> 89e1f7d4 (Alex Williamson 2012-07-31  466) 
> 89e1f7d4 (Alex Williamson 2012-07-31  467) 	phys = (pci_resource_start(pdev, index) >> PAGE_SHIFT) + pgoff;
> 
> ---
> 0-DAY kernel build testing backend         Open Source Technology Center
> Fengguang Wu, Yuanhan Liu                              Intel Corporation

-- 
Michal Hocko
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-05  6:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-05  1:17 [glommer-memcg:kmemcg-stack 33/221] drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' undecla Fengguang Wu
2012-10-05  6:58 ` [glommer-memcg:kmemcg-stack 33/221] drivers/vfio/pci/vfio_pci.c:464:28: error: 'VM_RESERVED' und Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox