submit.c:27:17: error: expected ')' before '__VA_OPT__' current->comm __VA_OPT__(,) __VA_ARGS__)

From: Naresh Kamboju
Date: Thu Jul 15 2021 - 14:36:27 EST

Regression detected on Linux next tag 20210715 for arm64 due to the
following patch with
- gcc-7 - FAILED
- clang-10 - FAILED
- clang-11- FAILED
But PASS with gcc-11 and clang-12

drm/tegra: Implement job submission part of new UAPI
Implement the job submission IOCTL with a minimum feature set.

Signed-off-by: Mikko Perttunen <mperttunen@xxxxxxxxxx>

Build error:
CC [M] drivers/gpu/drm/tegra/submit.o
In file included include/linux/device.h:15:0,
drivers/gpu/drm/tegra/submit.c: In function 'submit_copy_gather_data':
drivers/gpu/drm/tegra/submit.c:27:17: error: expected ')' before '__VA_OPT__'
current->comm __VA_OPT__(,) __VA_ARGS__)
Reported-by: Linux Kernel Functional Testing <lkft@xxxxxxxxxx>


Linaro LKFT