Hi Sui,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on drm-tip/drm-tip linus/master v5.16-rc1 next-20211118]
[cannot apply to drm/drm-next robh/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Sui-Jingfeng/dt-bindings-ls2k100...
base:
git://anongit.freedesktop.org/drm-intel for-linux-next
config: hexagon-randconfig-r041-20211119 (attached as .config)
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://github.com/0day-ci/linux/commit/85be7d6c6ecf8364546054827b621699e...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Sui-Jingfeng/dt-bindings-ls2k1000-add-gpu-device-node/20211120-165949
git checkout 85be7d6c6ecf8364546054827b621699e9fb632b
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=hexagon
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> drivers/gpu/drm/etnaviv/etnaviv_drv.c:741:1: warning: unused
label 'unregister_platform_driver' [-Wunused-label]
unregister_platform_driver:
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
vim +/unregister_platform_driver +741 drivers/gpu/drm/etnaviv/etnaviv_drv.c
85be7d6c6ecf83 suijingfeng 2021-11-20 716
246774d17fc05a Lucas Stach 2018-01-24 717 /*
246774d17fc05a Lucas Stach 2018-01-24 718 * If the DT contains at least one
available GPU device, instantiate
246774d17fc05a Lucas Stach 2018-01-24 719 * the DRM platform device.
246774d17fc05a Lucas Stach 2018-01-24 720 */
246774d17fc05a Lucas Stach 2018-01-24 721 for_each_compatible_node(np, NULL,
"vivante,gc") {
246774d17fc05a Lucas Stach 2018-01-24 722 if (!of_device_is_available(np))
246774d17fc05a Lucas Stach 2018-01-24 723 continue;
1a866306e0fbf3 Lucas Stach 2018-09-12 724
85be7d6c6ecf83 suijingfeng 2021-11-20 725 ret =
etnaviv_create_platform_device("etnaviv", np);
1a866306e0fbf3 Lucas Stach 2018-09-12 726
45a0faaba9c8c5 Fabio Estevam 2018-06-27 727 of_node_put(np);
1a866306e0fbf3 Lucas Stach 2018-09-12 728
85be7d6c6ecf83 suijingfeng 2021-11-20 729 if (ret)
85be7d6c6ecf83 suijingfeng 2021-11-20 730 goto unregister_pci_driver;
85be7d6c6ecf83 suijingfeng 2021-11-20 731
246774d17fc05a Lucas Stach 2018-01-24 732 break;
246774d17fc05a Lucas Stach 2018-01-24 733 }
246774d17fc05a Lucas Stach 2018-01-24 734
45a0faaba9c8c5 Fabio Estevam 2018-06-27 735 return 0;
45a0faaba9c8c5 Fabio Estevam 2018-06-27 736
85be7d6c6ecf83 suijingfeng 2021-11-20 737 unregister_pci_driver:
85be7d6c6ecf83 suijingfeng 2021-11-20 738 #ifdef CONFIG_DRM_ETNAVIV_PCI_DRIVER
85be7d6c6ecf83 suijingfeng 2021-11-20 739
pci_unregister_driver(&etnaviv_pci_driver);
85be7d6c6ecf83 suijingfeng 2021-11-20 740 #endif
45a0faaba9c8c5 Fabio Estevam 2018-06-27 @741 unregister_platform_driver:
45a0faaba9c8c5 Fabio Estevam 2018-06-27 742
platform_driver_unregister(&etnaviv_platform_driver);
45a0faaba9c8c5 Fabio Estevam 2018-06-27 743 unregister_gpu_driver:
45a0faaba9c8c5 Fabio Estevam 2018-06-27 744
platform_driver_unregister(&etnaviv_gpu_driver);
a8c21a5451d831 The etnaviv authors 2015-12-03 745 return ret;
a8c21a5451d831 The etnaviv authors 2015-12-03 746 }
a8c21a5451d831 The etnaviv authors 2015-12-03 747 module_init(etnaviv_init);
a8c21a5451d831 The etnaviv authors 2015-12-03 748
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org