mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-27 06:50:37 +00:00
![]() when we build tools/virtio, meet below error information.
cc -g -O2 -Werror -Wno-maybe-uninitialized -Wall
-I. -I../include/ -I ../../usr/include/
-Wno-pointer-sign -fno-strict-overflow
-fno-strict-aliasing -fno-common -MMD
-U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h
-mfunction-return=thunk -fcf-protection=none
-mindirect-branch-register -pthread
-c -o virtio_ring.o ../../drivers/virtio/virtio_ring.c
../../drivers/virtio/virtio_ring.c:3276:20: error:expected declaration specifiers or ‘...’ before string constant
3276 | MODULE_DESCRIPTION("Virtio ring implementation");
|
to fix, add MODULE_DESCRIPTION() define for virtio test.
Fixes:
|
||
---|---|---|
.. | ||
bug.h | ||
build_bug.h | ||
compiler.h | ||
cpumask.h | ||
device.h | ||
dma-mapping.h | ||
err.h | ||
export.h | ||
gfp.h | ||
hrtimer.h | ||
irqreturn.h | ||
kernel.h | ||
kmemleak.h | ||
kmsan.h | ||
mm_types.h | ||
module.h | ||
printk.h | ||
ratelimit.h | ||
scatterlist.h | ||
slab.h | ||
spinlock.h | ||
thread_info.h | ||
topology.h | ||
uaccess.h | ||
uio.h | ||
virtio_byteorder.h | ||
virtio_config.h | ||
virtio_ring.h | ||
virtio.h | ||
vringh.h |