Re: [mmotm:master 140/287] mm/page_alloc.c:6737:46: error: 'pgprot_t' has no member named 'pgprot'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]