* [linux-next:master 5501/13596] drivers/gpu/drm/tegra/nvdec.c:240:12: error: 'nvdec_runtime_resume' defined but not used
@ 2021-11-10 15:38 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-10 15:38 UTC (permalink / raw)
To: Mikko Perttunen; +Cc: kbuild-all, Linux Memory Management List, Thierry Reding
[-- Attachment #1: Type: text/plain, Size: 2309 bytes --]
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/commit/?id=e76599df354df9f0e919d97dfea80590c24d9abb
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@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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34802 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-10 15:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 15:38 [linux-next:master 5501/13596] drivers/gpu/drm/tegra/nvdec.c:240:12: error: 'nvdec_runtime_resume' defined but not used 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