linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: linux-next: Tree for Jun 4 (mm/vmstat.c)
       [not found] <20250604140235.2f14220f@canb.auug.org.au>
@ 2025-06-04  8:16 ` Randy Dunlap
  2025-06-04  9:52   ` Kirill A. Shutemov
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2025-06-04  8:16 UTC (permalink / raw)
  To: Stephen Rothwell, Linux Next Mailing List
  Cc: Linux Kernel Mailing List, Andrew Morton,
	Linux Memory Management List, Kirill A. Shutemov

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]



On 6/3/25 9:02 PM, Stephen Rothwell wrote:
> Hi all,
> 
> Please do not add any material destined for v6.17 to you rlinux-next
> included branches until after v6.16-rc1 has been released.
> 
> Changes since 20250603:
> 

on x86_64:

../mm/vmstat.c: In function 'vmstat_start':
./../include/linux/compiler_types.h:568:45: error: call to '__compiletime_assert_436' declared with attribute error: BUILD_BUG_ON failed: ARRAY_SIZE(vmstat_text) != NR_VMSTAT_ITEMS
  568 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
./../include/linux/compiler_types.h:549:25: note: in definition of macro '__compiletime_assert'
  549 |                         prefix ## suffix();                             \
      |                         ^~~~~~
./../include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert'
  568 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
../include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
../mm/vmstat.c:1872:9: note: in expansion of macro 'BUILD_BUG_ON'
 1872 |         BUILD_BUG_ON(ARRAY_SIZE(vmstat_text) != NR_VMSTAT_ITEMS);
      |         ^~~~~~~~~~~~


Full randconfig file is attached.

-- 
~Randy

[-- Attachment #2: config-r9419.gz --]
[-- Type: application/gzip, Size: 43189 bytes --]

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

* Re: linux-next: Tree for Jun 4 (mm/vmstat.c)
  2025-06-04  8:16 ` linux-next: Tree for Jun 4 (mm/vmstat.c) Randy Dunlap
@ 2025-06-04  9:52   ` Kirill A. Shutemov
  0 siblings, 0 replies; 2+ messages in thread
From: Kirill A. Shutemov @ 2025-06-04  9:52 UTC (permalink / raw)
  To: Randy Dunlap
  Cc: Stephen Rothwell, Linux Next Mailing List,
	Linux Kernel Mailing List, Andrew Morton,
	Linux Memory Management List, Kirill A. Shutemov

On Wed, Jun 04, 2025 at 01:16:40AM -0700, Randy Dunlap wrote:
> 
> 
> On 6/3/25 9:02 PM, Stephen Rothwell wrote:
> > Hi all,
> > 
> > Please do not add any material destined for v6.17 to you rlinux-next
> > included branches until after v6.16-rc1 has been released.
> > 
> > Changes since 20250603:
> > 
> 
> on x86_64:
> 
> ../mm/vmstat.c: In function 'vmstat_start':
> ./../include/linux/compiler_types.h:568:45: error: call to '__compiletime_assert_436' declared with attribute error: BUILD_BUG_ON failed: ARRAY_SIZE(vmstat_text) != NR_VMSTAT_ITEMS
>   568 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>       |                                             ^
> ./../include/linux/compiler_types.h:549:25: note: in definition of macro '__compiletime_assert'
>   549 |                         prefix ## suffix();                             \
>       |                         ^~~~~~
> ./../include/linux/compiler_types.h:568:9: note: in expansion of macro '_compiletime_assert'
>   568 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
>       |         ^~~~~~~~~~~~~~~~~~~
> ../include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
>    39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
>       |                                     ^~~~~~~~~~~~~~~~~~
> ../include/linux/build_bug.h:50:9: note: in expansion of macro 'BUILD_BUG_ON_MSG'
>    50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
>       |         ^~~~~~~~~~~~~~~~
> ../mm/vmstat.c:1872:9: note: in expansion of macro 'BUILD_BUG_ON'
>  1872 |         BUILD_BUG_ON(ARRAY_SIZE(vmstat_text) != NR_VMSTAT_ITEMS);
>       |         ^~~~~~~~~~~~
> 
> 
> Full randconfig file is attached.

Thanks for the report!

The fix is here:

https://lore.kernel.org/all/20250604095111.533783-1-kirill.shutemov@linux.intel.com/

-- 
  Kiryl Shutsemau / Kirill A. Shutemov


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

end of thread, other threads:[~2025-06-04  9:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20250604140235.2f14220f@canb.auug.org.au>
2025-06-04  8:16 ` linux-next: Tree for Jun 4 (mm/vmstat.c) Randy Dunlap
2025-06-04  9:52   ` Kirill A. Shutemov

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