[linux-next:master 9608/9715] drivers/gpu/drm/mediatek/mtk_disp_aal.c:60:47: error: 'priv' undeclared
From: kernel test robot <hidden>
Date: 2021-08-24 01:04:59
Also in:
oe-kbuild-all
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 <redacted> All errors (new ones prefixed by >>): drivers/gpu/drm/mediatek/mtk_disp_aal.c: In function 'mtk_aal_config':
quoted
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 Attachments
- .config.gz [application/gzip] 78374 bytes