tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   61671d85def2960bbf52db22e9e45b3bf8a5ceb5
commit: 961ae5f9807bb15af0065485785725768a7269b9 [2/37] drm/nouveau: handle 
pci/tegra drm_dev_{alloc, register} from common code
config: arm-randconfig-004-20240728 
(https://download.01.org/0day-ci/archive/20240729/202407290133.ijzaiy24-...@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.1.0
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20240729/202407290133.ijzaiy24-...@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 <l...@intel.com>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/202407290133.ijzaiy24-...@intel.com/

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/nouveau/nouveau_platform.c: In function 
'nouveau_platform_probe':
>> drivers/gpu/drm/nouveau/nouveau_platform.c:29:13: warning: unused variable 
>> 'ret' [-Wunused-variable]
      29 |         int ret;
         |             ^~~


vim +/ret +29 drivers/gpu/drm/nouveau/nouveau_platform.c

8ba9ff11632cb0 Alexandre Courbot 2014-06-26  23  
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  24  static int 
nouveau_platform_probe(struct platform_device *pdev)
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  25  {
e396ecd178c6c8 Alexandre Courbot 2015-09-04  26         const struct 
nvkm_device_tegra_func *func;
870571a5698b2e Thierry Reding    2016-02-24  27         struct nvkm_device 
*device = NULL;
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  28         struct drm_device *drm;
43a70661eaa64a Ben Skeggs        2015-08-20 @29         int ret;
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  30  
e396ecd178c6c8 Alexandre Courbot 2015-09-04  31         func = 
of_device_get_match_data(&pdev->dev);
e396ecd178c6c8 Alexandre Courbot 2015-09-04  32  
e396ecd178c6c8 Alexandre Courbot 2015-09-04  33         drm = 
nouveau_platform_device_create(func, pdev, &device);
43a70661eaa64a Ben Skeggs        2015-08-20  34         if (IS_ERR(drm))
43a70661eaa64a Ben Skeggs        2015-08-20  35                 return 
PTR_ERR(drm);
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  36  
43a70661eaa64a Ben Skeggs        2015-08-20  37         return 0;
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  38  }
8ba9ff11632cb0 Alexandre Courbot 2014-06-26  39  

:::::: The code at line 29 was first introduced by commit
:::::: 43a70661eaa64aa4e36e421eee3b9ded3190837b drm/nouveau/tegra: merge 
platform setup from nouveau drm

:::::: TO: Ben Skeggs <bske...@redhat.com>
:::::: CC: Ben Skeggs <bske...@redhat.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Reply via email to