Re: [PATCH net] udp_tunnel: drop packets when hibernating

From: kernel test robot

Date: Thu Oct 08 2026 - 21:58:45 EST


Hi Jason,

kernel test robot noticed the following build errors:

[auto build test ERROR on net/main]

url: https://github.com/intel-lab-lkp/linux/commits/Jason-A-Donenfeld/udp_tunnel-drop-packets-when-hibernating/20261008-144021
base: net/main
patch link: https://lore.kernel.org/r/20261008124106.665014-1-Jason%40zx2c4.com
patch subject: [PATCH net] udp_tunnel: drop packets when hibernating
config: parisc-randconfig-1000-20261009 (https://download.01.org/0day-ci/archive/20261009/202610090909.eskhKpxA-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261009/202610090909.eskhKpxA-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610090909.eskhKpxA-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from include/linux/list.h:11,
from include/linux/kobject.h:19,
from include/linux/cdev.h:5,
from drivers/char/virtio_console.c:7:
drivers/char/virtio_console.c: In function '__send_to_port':
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:66:18: note: in definition of macro '__smp_load_acquire'
union { typeof(*p) __val; char __c[1]; } __u; \
^
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:67:9: note: in definition of macro '__smp_load_acquire'
typeof(p) __p = (p); \
^
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:67:19: note: in definition of macro '__smp_load_acquire'
typeof(p) __p = (p); \
^
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
In file included from <command-line>:
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
In file included from include/linux/list.h:11,
from include/linux/kobject.h:19,
from include/linux/cdev.h:5,
from drivers/char/virtio_console.c:7:
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:69:18: note: in definition of macro '__smp_load_acquire'
switch (sizeof(*p)) { \
^
drivers/char/virtio_console.c:636:6: note: in expansion of macro 'smp_load_acquire'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:636:33: note: in expansion of macro 'pm_freezing'
if (smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
drivers/char/virtio_console.c: In function 'put_chars':
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:66:18: note: in definition of macro '__smp_load_acquire'
union { typeof(*p) __val; char __c[1]; } __u; \
^
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:67:9: note: in definition of macro '__smp_load_acquire'
typeof(p) __p = (p); \
^
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:67:19: note: in definition of macro '__smp_load_acquire'
typeof(p) __p = (p); \
^
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
In file included from <command-line>:
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:682:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
include/linux/compiler_types.h:702:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:2: note: in expansion of macro 'compiletime_assert'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~~~~~~
include/linux/compiler_types.h:705:21: note: in expansion of macro '__native_word'
compiletime_assert(__native_word(t), \
^~~~~~~~~~~~~
arch/parisc/include/asm/barrier.h:68:2: note: in expansion of macro 'compiletime_assert_atomic_type'
compiletime_assert_atomic_type(*p); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/asm-generic/barrier.h:176:29: note: in expansion of macro '__smp_load_acquire'
#define smp_load_acquire(p) __smp_load_acquire(p)
^~~~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
In file included from include/linux/list.h:11,
from include/linux/kobject.h:19,
from include/linux/cdev.h:5,
from drivers/char/virtio_console.c:7:
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/parisc/include/asm/barrier.h:69:18: note: in definition of macro '__smp_load_acquire'
switch (sizeof(*p)) { \
^
drivers/char/virtio_console.c:1173:6: note: in expansion of macro 'smp_load_acquire'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~~~~~~
drivers/char/virtio_console.c:1173:33: note: in expansion of macro 'pm_freezing'
smp_load_acquire(&portdev->pm_freezing)) /* pairs with freeze/restore */
^~~~~~~~~~~
In file included from drivers/char/virtio_console.c:12:
drivers/char/virtio_console.c: In function 'virtcons_probe':
>> include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
drivers/char/virtio_console.c:2071:11: note: in expansion of macro 'pm_freezing'
portdev->pm_freezing = false;
^~~~~~~~~~~


vim +79 include/linux/freezer.h

77
78 #else /* !CONFIG_FREEZER */
> 79 #define pm_freezing (false)
80 static inline bool frozen(struct task_struct *p) { return false; }
81 static inline bool freezing(struct task_struct *p) { return false; }
82 static inline void __thaw_task(struct task_struct *t) {}
83

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki