Subject: Re: mmotm 2019-10-18-22-40 uploaded (mm/vmstat.c)

From: Randy Dunlap <[email-masked]>
Date: Sat, 19 Oct 2019 08:59:12 -0700

On 10/18/19 10:40 PM, [email-masked] wrote:
> The mm-of-the-moment snapshot 2019-10-18-22-40 has been uploaded to
> 
>    http://www.ozlabs.org/~akpm/mmotm/
> 
> mmotm-readme.txt says
> 
> README for mm-of-the-moment:
> 
> http://www.ozlabs.org/~akpm/mmotm/
> 
> This is a snapshot of my -mm patch queue.  Uploaded at random hopefully
> more than once a week.

on x86_64:

  CC      mm/vmstat.o
In file included from ../include/linux/export.h:44:0,
                 from ../include/linux/linkage.h:7,
                 from ../include/linux/fs.h:5,
                 from ../mm/vmstat.c:13:
../mm/vmstat.c: In function ‘vmstat_start’:
../include/linux/compiler.h:350:38: error: call to ‘__compiletime_assert_1659’ declared with attribute error: BUILD_BUG_ON failed: stat_items_size != ARRAY_SIZE(vmstat_text) * sizeof(unsigned long)
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
                                      ^
../include/linux/compiler.h:331:4: note: in definition of macro ‘__compiletime_assert’
    prefix ## suffix();    \
    ^~~~~~
../include/linux/compiler.h:350:2: note: in expansion of macro ‘_compiletime_assert’
  _compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
  ^~~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
                                     ^~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
  BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
  ^~~~~~~~~~~~~~~~
../mm/vmstat.c:1658:2: note: in expansion of macro ‘BUILD_BUG_ON’
  BUILD_BUG_ON(stat_items_size !=
  ^~~~~~~~~~~~

Full randconfig file is attached.

-- 
~Randy
Reported-by: Randy Dunlap <[email-masked]>