Re: [PATCH] drm/tegra: Fix compilation of variadic macro

2021-07-16 Thread Thierry Reding
On Fri, Jul 16, 2021 at 01:46:00PM +0100, Jon Hunter wrote: > Commit 43636451db8c ("drm/tegra: Implement job submission part of new > UAPI") added the macro 'SUBMIT_ERR' that in turns makes use of the macro > '__VA_OPT__'. The '__VA_OPT__' macro is not supported by older versions > of GCC and so

Re: [PATCH] drm/tegra: Fix compilation of variadic macro

2021-07-16 Thread Mikko Perttunen
On 7/16/21 3:46 PM, Jon Hunter wrote: Commit 43636451db8c ("drm/tegra: Implement job submission part of new UAPI") added the macro 'SUBMIT_ERR' that in turns makes use of the macro '__VA_OPT__'. The '__VA_OPT__' macro is not supported by older versions of GCC and so causes build failures when

[PATCH] drm/tegra: Fix compilation of variadic macro

2021-07-16 Thread Jon Hunter
Commit 43636451db8c ("drm/tegra: Implement job submission part of new UAPI") added the macro 'SUBMIT_ERR' that in turns makes use of the macro '__VA_OPT__'. The '__VA_OPT__' macro is not supported by older versions of GCC and so causes build failures when using older versions of GCC. Fix this by