From: Jon Hunter <jonathanh@nvidia.com>
To: Naresh Kamboju <naresh.kamboju@linaro.org>,
Linux-Next Mailing List <linux-next@vger.kernel.org>,
open list <linux-kernel@vger.kernel.org>,
<lkft-triage@lists.linaro.org>,
clang-built-linux <clang-built-linux@googlegroups.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
Mikko Perttunen <mperttunen@nvidia.com>,
Thierry Reding <treding@nvidia.com>,
linux-tegra <linux-tegra@vger.kernel.org>,
Daniel Vetter <daniel@ffwll.ch>, David Airlie <airlied@linux.ie>,
Nathan Chancellor <natechancellor@gmail.com>
Subject: Re: submit.c:27:17: error: expected ')' before '__VA_OPT__' current->comm __VA_OPT__(,) __VA_ARGS__)
Date: Fri, 16 Jul 2021 11:46:18 +0100 [thread overview]
Message-ID: <f889adb9-dc01-79e3-12fb-1e66485246df@nvidia.com> (raw)
In-Reply-To: <CA+G9fYshrRFN=Qa62eLKPbKHpRt0L-FuRrp0ebc29gdBqFMxeA@mail.gmail.com>
On 15/07/2021 19:36, Naresh Kamboju wrote:
> 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@nvidia.com>
>
> Build error:
> ------------
> CC [M] drivers/gpu/drm/tegra/submit.o
> In file included include/linux/device.h:15:0,
> include/linux/host1x.h:9,
> drivers/gpu/drm/tegra/submit.c:6:
> 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@linaro.org>
>
> ref:
> https://gitlab.com/Linaro/lkft/mirrors/next/linux-next/-/jobs/1425953551#L197
>
> https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=lkft,MACHINE=juno,label=docker-buster-lkft/1068/consoleText
Thanks, yes I am seeing the same. The following fixes this and I will
send a patch to get this corrected.
diff --git a/drivers/gpu/drm/tegra/submit.c b/drivers/gpu/drm/tegra/submit.c
index c53b7207c478..e49630089149 100644
--- a/drivers/gpu/drm/tegra/submit.c
+++ b/drivers/gpu/drm/tegra/submit.c
@@ -24,7 +24,7 @@
#define SUBMIT_ERR(context, fmt, ...) \
dev_err_ratelimited(context->client->base.dev, \
"%s: job submission failed: " fmt "\n", \
- current->comm __VA_OPT__(,) __VA_ARGS__)
+ current->comm, ##__VA_ARGS__)
static struct tegra_drm_mapping *
tegra_drm_mapping_get(struct tegra_drm_context *context, u32 id)
Cheers
Jon
--
nvpublic
prev parent reply other threads:[~2021-07-16 10:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-15 18:36 Naresh Kamboju
2021-07-16 10:46 ` Jon Hunter [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f889adb9-dc01-79e3-12fb-1e66485246df@nvidia.com \
--to=jonathanh@nvidia.com \
--cc=airlied@linux.ie \
--cc=clang-built-linux@googlegroups.com \
--cc=daniel@ffwll.ch \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=mperttunen@nvidia.com \
--cc=naresh.kamboju@linaro.org \
--cc=natechancellor@gmail.com \
--cc=sfr@canb.auug.org.au \
--cc=treding@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®