CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Sui Jingfeng <[email protected]> TO: Lucas Stach <[email protected]> TO: Russell King <[email protected]> TO: Christian Gmeiner <[email protected]> TO: David Airlie <[email protected]> TO: Daniel Vetter <[email protected]> TO: Rob Herring <[email protected]> TO: Thomas Bogendoerfer <[email protected]> TO: Krzysztof Kozlowski <[email protected]> TO: Andrey Zhizhikin <[email protected]> TO: Sam Ravnborg <[email protected]>
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-rc2 next-20211126] [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-ls2k1000-add-gpu-device-node/20211120-165949 base: git://anongit.freedesktop.org/drm-intel for-linux-next :::::: branch date: 7 days ago :::::: commit date: 7 days ago config: microblaze-randconfig-s031-20211122 (https://download.01.org/0day-ci/archive/20211127/[email protected]/config) compiler: microblaze-linux-gcc (GCC) 11.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.4-dirty # https://github.com/0day-ci/linux/commit/85be7d6c6ecf8364546054827b621699e9fb632b 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 config file to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/gpu/drm/etnaviv/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) >> drivers/gpu/drm/etnaviv/etnaviv_drv.c:741:1: sparse: sparse: unused label >> 'unregister_platform_driver' 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/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
