From: kernel test robot <lkp@intel.com>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>,
rafael@kernel.org, lenb@kernel.org, pavel@kernel.org,
willemdebruijn.kernel@gmail.com, kuba@kernel.org,
pabeni@redhat.com, linux-pm@vger.kernel.org,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: oe-kbuild-all@lists.linux.dev,
"Jason A. Donenfeld" <Jason@zx2c4.com>,
stable@vger.kernel.org,
"Jérémy Jean" <jeremy.jean@oss.cyber.gouv.fr>
Subject: Re: [PATCH net] udp_tunnel: drop packets when hibernating
Date: Sat, 10 Oct 2026 07:47:55 +0800 [thread overview]
Message-ID: <202610100745.bqMCEIml-lkp@intel.com> (raw)
In-Reply-To: <20261008124106.665014-1-Jason@zx2c4.com>
Hi Jason,
kernel test robot noticed the following build warnings:
[auto build test WARNING 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: arm64-randconfig-1000-20261010 (https://download.01.org/0day-ci/archive/20261010/202610100745.bqMCEIml-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261010/202610100745.bqMCEIml-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610100745.bqMCEIml-lkp@intel.com/
All warnings (new ones prefixed by >>):
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/arm64/include/asm/barrier.h:169: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/arm64/include/asm/barrier.h:169: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/arm64/include/asm/barrier.h:169: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/arm64/include/asm/barrier.h:170:32: note: in definition of macro '__smp_load_acquire'
kasan_check_read(__p, 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 */
^~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:170:19: warning: passing argument 1 of 'kasan_check_read' makes pointer from integer without a cast [-Wint-conversion]
kasan_check_read(__p, sizeof(*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 */
^~~~~~~~~~~~~~~~
In file included from include/asm-generic/rwonce.h:26,
from arch/arm64/include/asm/rwonce.h:81,
from include/linux/compiler.h:369,
from include/linux/build_bug.h:5,
from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/kobject.h:19,
from include/linux/cdev.h:5,
from drivers/char/virtio_console.c:7:
include/linux/kasan-checks.h:40:58: note: expected 'const volatile void *' but argument is of type 'int'
static inline bool kasan_check_read(const volatile void *p, unsigned int size)
~~~~~~~~~~~~~~~~~~~~~^
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/arm64/include/asm/barrier.h:171: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 */
^~~~~~~~~~~
arch/arm64/include/asm/barrier.h:175:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
arch/arm64/include/asm/barrier.h:180:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
arch/arm64/include/asm/barrier.h:185:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
arch/arm64/include/asm/barrier.h:190:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/arm64/include/asm/barrier.h:193:11: note: in definition of macro '__smp_load_acquire'
(typeof(*p))__u.__val; \
^
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>:
drivers/char/virtio_console.c: In function 'put_chars':
include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
include/linux/compiler_types.h:626:13: note: in definition of macro '__unqual_scalar_typeof'
_Generic((x), \
^
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 */
--
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/arm64/include/asm/barrier.h:169: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/arm64/include/asm/barrier.h:169: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/arm64/include/asm/barrier.h:169: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/arm64/include/asm/barrier.h:170:32: note: in definition of macro '__smp_load_acquire'
kasan_check_read(__p, 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 */
^~~~~~~~~~~
>> arch/arm64/include/asm/barrier.h:170:19: warning: passing argument 1 of 'kasan_check_read' makes pointer from integer without a cast [-Wint-conversion]
kasan_check_read(__p, sizeof(*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 */
^~~~~~~~~~~~~~~~
In file included from include/asm-generic/rwonce.h:26,
from arch/arm64/include/asm/rwonce.h:81,
from include/linux/compiler.h:369,
from include/linux/build_bug.h:5,
from include/linux/container_of.h:5,
from include/linux/list.h:5,
from include/linux/kobject.h:19,
from include/linux/cdev.h:5,
from drivers/char/virtio_console.c:7:
include/linux/kasan-checks.h:40:58: note: expected 'const volatile void *' but argument is of type 'int'
static inline bool kasan_check_read(const volatile void *p, unsigned int size)
~~~~~~~~~~~~~~~~~~~~~^
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/arm64/include/asm/barrier.h:171: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 */
^~~~~~~~~~~
arch/arm64/include/asm/barrier.h:175:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
arch/arm64/include/asm/barrier.h:180:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
arch/arm64/include/asm/barrier.h:185:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
arch/arm64/include/asm/barrier.h:190:11: error: invalid type argument of unary '*' (have 'int')
: "Q" (*__p) : "memory"); \
^~~~
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 */
^~~~~~~~~~~~~~~~
include/linux/freezer.h:79:21: error: expected identifier before '(' token
#define pm_freezing (false)
^
arch/arm64/include/asm/barrier.h:193:11: note: in definition of macro '__smp_load_acquire'
(typeof(*p))__u.__val; \
^
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 +/kasan_check_read +170 arch/arm64/include/asm/barrier.h
47933ad41a86a4 Peter Zijlstra 2013-11-06 164
fd072df850e536 Michael S. Tsirkin 2015-12-27 165 #define __smp_load_acquire(p) \
47933ad41a86a4 Peter Zijlstra 2013-11-06 166 ({ \
10223c5286f738 Will Deacon 2019-12-19 167 union { __unqual_scalar_typeof(*p) __val; char __c[1]; } __u; \
131e135f7fd14b Mark Rutland 2019-04-09 168 typeof(p) __p = (p); \
47933ad41a86a4 Peter Zijlstra 2013-11-06 169 compiletime_assert_atomic_type(*p); \
131e135f7fd14b Mark Rutland 2019-04-09 @170 kasan_check_read(__p, sizeof(*p)); \
47933ad41a86a4 Peter Zijlstra 2013-11-06 171 switch (sizeof(*p)) { \
878a84d5a8a18a Andre Przywara 2015-04-20 172 case 1: \
878a84d5a8a18a Andre Przywara 2015-04-20 173 asm volatile ("ldarb %w0, %1" \
c139aa60c10074 Will Deacon 2015-11-18 174 : "=r" (*(__u8 *)__u.__c) \
131e135f7fd14b Mark Rutland 2019-04-09 175 : "Q" (*__p) : "memory"); \
878a84d5a8a18a Andre Przywara 2015-04-20 176 break; \
878a84d5a8a18a Andre Przywara 2015-04-20 177 case 2: \
878a84d5a8a18a Andre Przywara 2015-04-20 178 asm volatile ("ldarh %w0, %1" \
c139aa60c10074 Will Deacon 2015-11-18 179 : "=r" (*(__u16 *)__u.__c) \
131e135f7fd14b Mark Rutland 2019-04-09 180 : "Q" (*__p) : "memory"); \
878a84d5a8a18a Andre Przywara 2015-04-20 181 break; \
47933ad41a86a4 Peter Zijlstra 2013-11-06 182 case 4: \
47933ad41a86a4 Peter Zijlstra 2013-11-06 183 asm volatile ("ldar %w0, %1" \
c139aa60c10074 Will Deacon 2015-11-18 184 : "=r" (*(__u32 *)__u.__c) \
131e135f7fd14b Mark Rutland 2019-04-09 185 : "Q" (*__p) : "memory"); \
47933ad41a86a4 Peter Zijlstra 2013-11-06 186 break; \
47933ad41a86a4 Peter Zijlstra 2013-11-06 187 case 8: \
47933ad41a86a4 Peter Zijlstra 2013-11-06 188 asm volatile ("ldar %0, %1" \
c139aa60c10074 Will Deacon 2015-11-18 189 : "=r" (*(__u64 *)__u.__c) \
131e135f7fd14b Mark Rutland 2019-04-09 190 : "Q" (*__p) : "memory"); \
47933ad41a86a4 Peter Zijlstra 2013-11-06 191 break; \
47933ad41a86a4 Peter Zijlstra 2013-11-06 192 } \
10223c5286f738 Will Deacon 2019-12-19 193 (typeof(*p))__u.__val; \
47933ad41a86a4 Peter Zijlstra 2013-11-06 194 })
47933ad41a86a4 Peter Zijlstra 2013-11-06 195
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2026-10-09 23:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-08 12:40 [PATCH net] udp_tunnel: drop packets when hibernating Jason A. Donenfeld
2026-10-08 12:46 ` netdev-bot+sinfo
2026-10-08 12:47 ` Jason A. Donenfeld
2026-10-08 16:26 ` Jérémy Jean
2026-10-08 18:37 ` Willem de Bruijn
2026-10-08 19:58 ` Jason A. Donenfeld
2026-10-08 21:03 ` Willem de Bruijn
2026-10-10 21:49 ` Jason A. Donenfeld
2026-10-11 16:28 ` Willem de Bruijn
2026-10-09 1:57 ` kernel test robot
2026-10-09 4:06 ` kernel test robot
2026-10-09 23:47 ` kernel test robot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202610100745.bqMCEIml-lkp@intel.com \
--to=lkp@intel.com \
--cc=Jason@zx2c4.com \
--cc=jeremy.jean@oss.cyber.gouv.fr \
--cc=kuba@kernel.org \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=pavel@kernel.org \
--cc=rafael@kernel.org \
--cc=stable@vger.kernel.org \
--cc=willemdebruijn.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.