* [wens:sunxi-wip 36/36] drivers/gpu/drm/etnaviv/etnaviv_gpu.c:1930:1: warning: label 'pm_put' defined but not used
@ 2026-10-30 21:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-30 21:42 UTC (permalink / raw)
To: Chen-Yu Tsai; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/wens/linux.git sunxi-wip
head: e8e10ee67982c55fd3900953641c680a2fbef1c6
commit: e8e10ee67982c55fd3900953641c680a2fbef1c6 [36/36] HACK: drm/etnaviv: check if GPU is actually there
config: x86_64-randconfig-r2304-20261030 (https://download.01.org/0day-ci/archive/20261030/202610302254.Ekd0JM5s-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261030/202610302254.Ekd0JM5s-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610302254.Ekd0JM5s-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/gpu/drm/etnaviv/etnaviv_gpu.c: In function 'etnaviv_gpu_detect':
>> drivers/gpu/drm/etnaviv/etnaviv_gpu.c:1930:1: warning: label 'pm_put' defined but not used [-Wunused-label]
1930 | pm_put:
| ^~~~~~
vim +/pm_put +1930 drivers/gpu/drm/etnaviv/etnaviv_gpu.c
1904
1905 static int etnaviv_gpu_detect(struct etnaviv_gpu *gpu)
1906 {
1907 int ret;
1908
1909 ret = pm_runtime_resume_and_get(gpu->dev);
1910 if (ret < 0)
1911 return dev_err_probe(gpu->dev, ret,
1912 "Failed to enable GPU power domain\n");
1913
1914 ret = etnaviv_gpu_reset_deassert(gpu);
1915 if (ret) {
1916 dev_err_probe(gpu->dev, ret,
1917 "GPU reset deassert failed\n");
1918 goto fail;
1919 }
1920
1921 etnaviv_hw_identify(gpu);
1922
1923 if (gpu->identity.model == 0) {
1924 ret = -ENODEV;
1925 dev_err_probe(gpu->dev, ret, "Unknown GPU model\n");
1926 }
1927
1928 fail:
1929 pm_runtime_mark_last_busy(gpu->dev);
> 1930 pm_put:
1931 pm_runtime_put_autosuspend(gpu->dev);
1932
1933 return ret;
1934 }
1935
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 21:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-30 21:42 [wens:sunxi-wip 36/36] drivers/gpu/drm/etnaviv/etnaviv_gpu.c:1930:1: warning: label 'pm_put' defined but not used kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.