From: kernel test robot <lkp@intel.com>
To: Inki Dae <inki.dae@samsung.com>,
dri-devel@lists.freedesktop.org,
linux-samsung-soc@vger.kernel.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
airlied@linux.ie
Subject: Re: [PATCH] drm/exynos: use pm_runtime_resume_and_get()
Date: Wed, 26 May 2021 13:16:04 +0800 [thread overview]
Message-ID: <202105261306.ijBdNgEI-lkp@intel.com> (raw)
In-Reply-To: <20210525111222.241131-1-inki.dae@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 4051 bytes --]
Hi Inki,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-exynos/exynos-drm-next]
[also build test ERROR on drm-intel/for-linux-next drm-tip/drm-tip tegra-drm/drm/tegra/for-next v5.13-rc3 next-20210525]
[cannot apply to drm/drm-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Inki-Dae/drm-exynos-use-pm_runtime_resume_and_get/20210525-190630
base: https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next
config: arm64-randconfig-r014-20210526 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 99155e913e9bad5f7f8a247f8bb3a3ff3da74af1)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/0day-ci/linux/commit/e9c82df302b53764b0fac4c14d48efe2595a296e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Inki-Dae/drm-exynos-use-pm_runtime_resume_and_get/20210525-190630
git checkout e9c82df302b53764b0fac4c14d48efe2595a296e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/exynos/exynos_drm_gsc.c:1123:47: error: too few arguments provided to function-like macro invocation
dev_err("failed to enable GScaler device.\n");
^
include/linux/dev_printk.h:111:9: note: macro 'dev_err' defined here
#define dev_err(dev, fmt, ...) \
^
>> drivers/gpu/drm/exynos/exynos_drm_gsc.c:1123:3: error: use of undeclared identifier 'dev_err'; did you mean '_dev_err'?
dev_err("failed to enable GScaler device.\n");
^~~~~~~
_dev_err
include/linux/dev_printk.h:50:6: note: '_dev_err' declared here
void _dev_err(const struct device *dev, const char *fmt, ...);
^
drivers/gpu/drm/exynos/exynos_drm_gsc.c:1123:3: warning: expression result unused [-Wunused-value]
dev_err("failed to enable GScaler device.\n");
^~~~~~~
1 warning and 2 errors generated.
vim +1123 drivers/gpu/drm/exynos/exynos_drm_gsc.c
1114
1115 static int gsc_commit(struct exynos_drm_ipp *ipp,
1116 struct exynos_drm_ipp_task *task)
1117 {
1118 struct gsc_context *ctx = container_of(ipp, struct gsc_context, ipp);
1119 int ret;
1120
1121 ret = pm_runtime_resume_and_get(ctx->dev);
1122 if (ret < 0) {
> 1123 dev_err("failed to enable GScaler device.\n");
1124 return ret;
1125 }
1126
1127 ctx->task = task;
1128
1129 ret = gsc_reset(ctx);
1130 if (ret) {
1131 pm_runtime_put_autosuspend(ctx->dev);
1132 ctx->task = NULL;
1133 return ret;
1134 }
1135
1136 gsc_src_set_fmt(ctx, task->src.buf.fourcc, task->src.buf.modifier);
1137 gsc_src_set_transf(ctx, task->transform.rotation);
1138 gsc_src_set_size(ctx, &task->src);
1139 gsc_src_set_addr(ctx, 0, &task->src);
1140 gsc_dst_set_fmt(ctx, task->dst.buf.fourcc, task->dst.buf.modifier);
1141 gsc_dst_set_size(ctx, &task->dst);
1142 gsc_dst_set_addr(ctx, 0, &task->dst);
1143 gsc_set_prescaler(ctx, &ctx->sc, &task->src.rect, &task->dst.rect);
1144 gsc_start(ctx);
1145
1146 return 0;
1147 }
1148
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38809 bytes --]
prev parent reply other threads:[~2021-05-26 5:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20210525110253epcas1p2f9c7a1bda22b655fe5b52570dcf71fb0@epcas1p2.samsung.com>
2021-05-25 11:12 ` [PATCH] drm/exynos: use pm_runtime_resume_and_get() Inki Dae
2021-05-26 5:16 ` kernel test robot [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=202105261306.ijBdNgEI-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=clang-built-linux@googlegroups.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=inki.dae@samsung.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-samsung-soc@vger.kernel.org \
/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