mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Michael S. Tsirkin](/assets/img/avatar_default.png)
This fixes build for the vringh test: [linux]$ make -C tools/virtio/ make: Entering directory `/home/mst/scm/linux/tools/virtio' cc -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -c -o vringh.o ../../drivers/vhost/vringh.c ../../drivers/vhost/vringh.c:1010:16: error: expected declaration specifiers or ‘...’ before string constant Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
6 lines
172 B
C
6 lines
172 B
C
#include <linux/export.h>
|
|
|
|
#define MODULE_LICENSE(__MODULE_LICENSE_value) \
|
|
static __attribute__((unused)) const char *__MODULE_LICENSE_name = \
|
|
__MODULE_LICENSE_value
|
|
|