linux-loongson/tools/virtio/linux
Yufeng Wang ec05544c85 tools: virtio/linux/module.h add MODULE_DESCRIPTION() define.
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: ab0727f3dd ("virtio: add missing MODULE_DESCRIPTION() macros")
Signed-off-by: Yufeng Wang <wangyufeng@kylinos.cn>
Message-Id: <20250114064726.33079-1-wangyufeng@kylinos.cn>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2025-02-25 07:10:45 -05:00
..
bug.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
build_bug.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
compiler.h tools: virtio/linux/compiler.h: Add data_race() define. 2025-02-25 07:10:45 -05:00
cpumask.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
device.h
dma-mapping.h tools/virtio: Add DMA_MAPPING_ERROR and sg_dma_len api define for virtio test 2025-02-25 07:10:24 -05:00
err.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
export.h
gfp.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
hrtimer.h
irqreturn.h
kernel.h tools/virtio: fix build caused by virtio_ring changes 2023-04-21 03:02:35 -04:00
kmemleak.h
kmsan.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
mm_types.h tools/virtio: handle fallout from folio work 2022-03-06 06:06:50 -05:00
module.h tools: virtio/linux/module.h add MODULE_DESCRIPTION() define. 2025-02-25 07:10:45 -05:00
printk.h
ratelimit.h
scatterlist.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
slab.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
spinlock.h tools/virtio: fix build 2021-08-11 06:44:24 -04:00
thread_info.h tools/virtio: more stubs to fix tools build 2018-01-29 12:02:54 -05:00
topology.h tools/virtio: fix the vringh test for virtio ring changes 2023-01-27 06:18:41 -05:00
uaccess.h tools/virtio: fix build caused by virtio_ring changes 2023-04-21 03:02:35 -04:00
uio.h
virtio_byteorder.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
virtio_config.h tools: virtio: introduce vhost_net_test 2024-03-05 11:38:14 +01:00
virtio_ring.h
virtio.h virtio_test: fixup for vq reset 2022-09-27 18:30:49 -04:00
vringh.h tools/virtio: fix build 2022-08-11 04:26:07 -04:00