Re: [PATCH] media: remove bdisp_dbg_declare() and hva_dbg_declare()

From: kbuild test robot
Date: Sat Dec 01 2018 - 15:08:43 EST


Hi Yangtao,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.20-rc4 next-20181130]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Yangtao-Li/media-remove-bdisp_dbg_declare-and-hva_dbg_declare/20181202-033340
base: git://linuxtv.org/media_tree.git master
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 6.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=6.4.0 make.cross ARCH=nds32

All errors (new ones prefixed by >>):

drivers/media/platform/exynos4-is/fimc-is.c: In function 'fimc_is_debugfs_open':
>> drivers/media/platform/exynos4-is/fimc-is.c:757:27: error: 'fimc_is_log_show' undeclared (first use in this function)
return single_open(file, fimc_is_log_show, inode->i_private);
^~~~~~~~~~~~~~~~
drivers/media/platform/exynos4-is/fimc-is.c:757:27: note: each undeclared identifier is reported only once for each function it appears in
At top level:
drivers/media/platform/exynos4-is/fimc-is.c:755:12: warning: 'fimc_is_debugfs_open' defined but not used [-Wunused-function]
static int fimc_is_debugfs_open(struct inode *inode, struct file *file)
^~~~~~~~~~~~~~~~~~~~

vim +/fimc_is_log_show +757 drivers/media/platform/exynos4-is/fimc-is.c

9a761e43 Sylwester Nawrocki 2013-03-11 754
9a761e43 Sylwester Nawrocki 2013-03-11 755 static int fimc_is_debugfs_open(struct inode *inode, struct file *file)
9a761e43 Sylwester Nawrocki 2013-03-11 756 {
9a761e43 Sylwester Nawrocki 2013-03-11 @757 return single_open(file, fimc_is_log_show, inode->i_private);
9a761e43 Sylwester Nawrocki 2013-03-11 758 }
9a761e43 Sylwester Nawrocki 2013-03-11 759

:::::: The code at line 757 was first introduced by commit
:::::: 9a761e436843f228eaa2decda6d2c6dbd5ef1480 [media] exynos4-is: Add Exynos4x12 FIMC-IS driver

:::::: TO: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
:::::: CC: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip