diff options
author | Yufeng Wang <wangyufeng@kylinos.cn> | 2025-01-14 09:47:26 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2025-02-25 15:10:45 +0300 |
commit | ec05544c858fef45bc00738c2ced196ed91be611 (patch) | |
tree | 42d065d8c89a0c9d5aaab222bcb72aa3b33ec825 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 83dc0370f915b9ad996387c141399615627e32b6 (diff) | |
download | linux-ec05544c858fef45bc00738c2ced196ed91be611.tar.xz |
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: ab0727f3ddb8 ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions