tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 73e5c18006f5e1f7d35d1e996609eaff6536ae5e
commit: e76599df354df9f0e919d97dfea80590c24d9abb [5501/13596] drm/tegra: Add NVDEC driver
config: arm-buildonly-randconfig-r005-20211031 (attached as .config)
compiler: arm-linux-gnueabi-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/commi...
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 e76599df354df9f0e919d97dfea80590c24d9abb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
Note: the linux-next/master HEAD 73e5c18006f5e1f7d35d1e996609eaff6536ae5e builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
> drivers/gpu/drm/tegra/nvdec.c:240:12: error:
'nvdec_runtime_resume' defined but not used [-Werror=unused-function]
240 | static int nvdec_runtime_resume(struct device *dev)
| ^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/nvdec_runtime_resume +240 drivers/gpu/drm/tegra/nvdec.c
238
239
240 static int nvdec_runtime_resume(struct device *dev)
241 {
242 struct nvdec *nvdec = dev_get_drvdata(dev);
243 int err;
244
245 err = clk_prepare_enable(nvdec->clk);
246 if (err < 0)
247 return err;
248
249 usleep_range(10, 20);
250
251 err = nvdec_load_firmware(nvdec);
252 if (err < 0)
253 goto disable;
254
255 err = nvdec_boot(nvdec);
256 if (err < 0)
257 goto disable;
258
259 return 0;
260
261 disable:
262 clk_disable_unprepare(nvdec->clk);
263 return err;
264 }
265
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org