linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 140/287] mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot'
@ 2014-08-30  0:17 kbuild test robot
  2014-08-31  2:43 ` Naoya Horiguchi
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2014-08-30  0:17 UTC (permalink / raw)
  To: Sasha Levin
  Cc: Linux Memory Management List, Andrew Morton, Johannes Weiner,
	kbuild-all

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   8f1fc64dc9b39fedb7390e086001ce5ec327e80d
commit: 59f16a3915d3e5c6ddebc1b1c10ce0c14fd518cf [140/287] mm: introduce dump_vma
config: make ARCH=tile tilegx_defconfig

All error/warnings:

   mm/page_alloc.c: In function 'dump_vma':
>> mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot'

vim +6737 mm/page_alloc.c

  6731		printk(KERN_ALERT
  6732			"vma %p start %p end %p\n"
  6733			"next %p prev %p mm %p\n"
  6734			"prot %lx anon_vma %p vm_ops %p\n"
  6735			"pgoff %lx file %p private_data %p\n",
  6736			vma, (void *)vma->vm_start, (void *)vma->vm_end, vma->vm_next,
> 6737			vma->vm_prev, vma->vm_mm, vma->vm_page_prot.pgprot,
  6738			vma->anon_vma, vma->vm_ops, vma->vm_pgoff,
  6739			vma->vm_file, vma->vm_private_data);
  6740		dump_flags(vma->vm_flags, vmaflags_names, ARRAY_SIZE(vmaflags_names));

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

* Re: [mmotm:master 140/287] mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot'
  2014-08-30  0:17 [mmotm:master 140/287] mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot' kbuild test robot
@ 2014-08-31  2:43 ` Naoya Horiguchi
  0 siblings, 0 replies; 2+ messages in thread
From: Naoya Horiguchi @ 2014-08-31  2:43 UTC (permalink / raw)
  To: Sasha Levin
  Cc: kbuild test robot, Linux Memory Management List, Andrew Morton,
	Johannes Weiner, kbuild-all

On Sat, Aug 30, 2014 at 08:17:04AM +0800, kbuild test robot wrote:
> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   8f1fc64dc9b39fedb7390e086001ce5ec327e80d
> commit: 59f16a3915d3e5c6ddebc1b1c10ce0c14fd518cf [140/287] mm: introduce dump_vma
> config: make ARCH=tile tilegx_defconfig
> 
> All error/warnings:
> 
>    mm/page_alloc.c: In function 'dump_vma':
> >> mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot'
> 
> vim +6737 mm/page_alloc.c
> 
>   6731		printk(KERN_ALERT
>   6732			"vma %p start %p end %p\n"
>   6733			"next %p prev %p mm %p\n"
>   6734			"prot %lx anon_vma %p vm_ops %p\n"
>   6735			"pgoff %lx file %p private_data %p\n",
>   6736			vma, (void *)vma->vm_start, (void *)vma->vm_end, vma->vm_next,
> > 6737			vma->vm_prev, vma->vm_mm, vma->vm_page_prot.pgprot,
>   6738			vma->anon_vma, vma->vm_ops, vma->vm_pgoff,
>   6739			vma->vm_file, vma->vm_private_data);
>   6740		dump_flags(vma->vm_flags, vmaflags_names, ARRAY_SIZE(vmaflags_names));

pgprot_t is defined differently by arch, so we should access the contents
via pgprot_val() macro.

Thanks,
Naoya Horiguchi

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

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

end of thread, other threads:[~2014-08-31  3:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-30  0:17 [mmotm:master 140/287] mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot' kbuild test robot
2014-08-31  2:43 ` Naoya Horiguchi

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).