lkml.org 
[lkml]   [2017]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build failure after merge of the nvdimm tree
Hi Dan,

After merging the nvdimm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from arch/powerpc/kernel/asm-offsets.c:22:0:
include/linux/mman.h: In function 'calc_vm_flag_bits':
include/linux/mman.h:109:48: warning: division by zero [-Wdiv-by-zero]
((bit1) <= (bit2) ? ((x) & (bit1)) * ((bit2) / (bit1)) \
^
include/linux/mman.h:133:9: note: in expansion of macro '_calc_vm_trans'
_calc_vm_trans(flags, MAP_SYNC, VM_SYNC );
^
cc1: all warnings being treated as errors

and more like these ...

Caused by commit

ebd0722a382c ("mm: Define MAP_SYNC and VM_SYNC flags")

Not all architectures use asm-generic/mman.h

I have used the nvdimm tree from next-20171102 for today.

--
Cheers,
Stephen Rothwell

\
 
 \ /
  Last update: 2017-11-03 08:20    [W:0.025 / U:9.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site