* [linux-next:master 9608/9715] drivers/gpu/drm/mediatek/mtk_disp_aal.c:60:47: error: 'priv' undeclared
@ 2021-08-24 1:04 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-24 1:04 UTC (permalink / raw)
To: Dave Airlie; +Cc: kbuild-all, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 46debfec12b4e038b93c62a86bd78ae62f9ba4ea
commit: e2b44fa97cb8f316d61555ef1a45cfee8dbd5c93 [9608/9715] Merge remote-tracking branch 'drm/drm-next'
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e2b44fa97cb8f316d61555ef1a45cfee8dbd5c93
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout e2b44fa97cb8f316d61555ef1a45cfee8dbd5c93
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
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/mediatek/mtk_disp_aal.c: In function 'mtk_aal_config':
>> drivers/gpu/drm/mediatek/mtk_disp_aal.c:60:47: error: 'priv' undeclared (first use in this function)
60 | mtk_ddp_write(cmdq_pkt, w << 16 | h, &priv->cmdq_reg, priv->regs, DISP_AAL_OUTPUT_SIZE);
| ^~~~
drivers/gpu/drm/mediatek/mtk_disp_aal.c:60:47: note: each undeclared identifier is reported only once for each function it appears in
vim +/priv +60 drivers/gpu/drm/mediatek/mtk_disp_aal.c
52
53 void mtk_aal_config(struct device *dev, unsigned int w,
54 unsigned int h, unsigned int vrefresh,
55 unsigned int bpc, struct cmdq_pkt *cmdq_pkt)
56 {
57 struct mtk_disp_aal *aal = dev_get_drvdata(dev);
58
59 mtk_ddp_write(cmdq_pkt, w << 16 | h, &aal->cmdq_reg, aal->regs, DISP_AAL_SIZE);
> 60 mtk_ddp_write(cmdq_pkt, w << 16 | h, &priv->cmdq_reg, priv->regs, DISP_AAL_OUTPUT_SIZE);
61 }
62
---
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: 78374 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-24 1:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-24 1:04 [linux-next:master 9608/9715] drivers/gpu/drm/mediatek/mtk_disp_aal.c:60:47: error: 'priv' undeclared kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).