All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Sui Jingfeng <15330273260@189.cn>,
	Lucas Stach <l.stach@pengutronix.de>,
	Russell King <linux+etnaviv@armlinux.org.uk>,
	Christian Gmeiner <christian.gmeiner@gmail.com>,
	David Airlie <airlied@linux.ie>, Daniel Vetter <daniel@ffwll.ch>,
	Rob Herring <robh+dt@kernel.org>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	Krzysztof Kozlowski <krzk@kernel.org>,
	Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>,
	Sam Ravnborg <sam@ravnborg.org>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org
Subject: Re: [PATCH v2 2/3] drm/etnaviv: add pci device driver support
Date: Thu, 2 Dec 2021 02:29:15 +0800	[thread overview]
Message-ID: <202112020251.mDNRLVR1-lkp@intel.com> (raw)
In-Reply-To: <20211201113502.3168-2-15330273260@189.cn>

Hi Sui,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm/drm-next]
[also build test WARNING on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip linus/master v5.16-rc3 next-20211201]
[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/20211201-193705
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: x86_64-randconfig-r013-20211201 (https://download.01.org/0day-ci/archive/20211202/202112020251.mDNRLVR1-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b553297ef3ee4dc2119d5429adf3072e90fac38)
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/ad369e62739e40e48bb801a8d18ff3d9c6859b44
        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/20211201-193705
        git checkout ad369e62739e40e48bb801a8d18ff3d9c6859b44
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/etnaviv/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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

ad369e62739e40 suijingfeng         2021-12-01  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  
ad369e62739e40 suijingfeng         2021-12-01  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  
ad369e62739e40 suijingfeng         2021-12-01  729  		if (ret)
ad369e62739e40 suijingfeng         2021-12-01  730  			goto unregister_pci_driver;
ad369e62739e40 suijingfeng         2021-12-01  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  
ad369e62739e40 suijingfeng         2021-12-01  737  unregister_pci_driver:
ad369e62739e40 suijingfeng         2021-12-01  738  #ifdef CONFIG_DRM_ETNAVIV_PCI_DRIVER
ad369e62739e40 suijingfeng         2021-12-01  739  	pci_unregister_driver(&etnaviv_pci_driver);
ad369e62739e40 suijingfeng         2021-12-01  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

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 2/3] drm/etnaviv: add pci device driver support
Date: Thu, 02 Dec 2021 02:29:15 +0800	[thread overview]
Message-ID: <202112020251.mDNRLVR1-lkp@intel.com> (raw)
In-Reply-To: <20211201113502.3168-2-15330273260@189.cn>

[-- Attachment #1: Type: text/plain, Size: 4556 bytes --]

Hi Sui,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on drm/drm-next]
[also build test WARNING on robh/for-next drm-intel/for-linux-next drm-tip/drm-tip linus/master v5.16-rc3 next-20211201]
[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/20211201-193705
base:   git://anongit.freedesktop.org/drm/drm drm-next
config: x86_64-randconfig-r013-20211201 (https://download.01.org/0day-ci/archive/20211202/202112020251.mDNRLVR1-lkp(a)intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 4b553297ef3ee4dc2119d5429adf3072e90fac38)
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/ad369e62739e40e48bb801a8d18ff3d9c6859b44
        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/20211201-193705
        git checkout ad369e62739e40e48bb801a8d18ff3d9c6859b44
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/etnaviv/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@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

ad369e62739e40 suijingfeng         2021-12-01  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  
ad369e62739e40 suijingfeng         2021-12-01  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  
ad369e62739e40 suijingfeng         2021-12-01  729  		if (ret)
ad369e62739e40 suijingfeng         2021-12-01  730  			goto unregister_pci_driver;
ad369e62739e40 suijingfeng         2021-12-01  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  
ad369e62739e40 suijingfeng         2021-12-01  737  unregister_pci_driver:
ad369e62739e40 suijingfeng         2021-12-01  738  #ifdef CONFIG_DRM_ETNAVIV_PCI_DRIVER
ad369e62739e40 suijingfeng         2021-12-01  739  	pci_unregister_driver(&etnaviv_pci_driver);
ad369e62739e40 suijingfeng         2021-12-01  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(a)lists.01.org

  reply	other threads:[~2021-12-01 18:29 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-01 11:35 [PATCH v2 1/3] dt-bindings: ls2k1000: add gpu device node Sui Jingfeng
2021-12-01 11:35 ` Sui Jingfeng
2021-12-01 11:35 ` [PATCH v2 2/3] drm/etnaviv: add pci device driver support Sui Jingfeng
2021-12-01 11:35   ` Sui Jingfeng
2021-12-01 18:29   ` kernel test robot [this message]
2021-12-01 18:29     ` kernel test robot
2021-12-01 18:48   ` Lucas Stach
2021-12-01 18:48     ` Lucas Stach
2021-12-01 11:35 ` [PATCH v2 3/3] mips: loongson64: enable etnaviv drm driver on ls2k1000 and ls3a4000 Sui Jingfeng
2021-12-01 11:35   ` Sui Jingfeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202112020251.mDNRLVR1-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=15330273260@189.cn \
    --cc=airlied@linux.ie \
    --cc=andrey.zhizhikin@leica-geosystems.com \
    --cc=christian.gmeiner@gmail.com \
    --cc=daniel@ffwll.ch \
    --cc=kbuild-all@lists.01.org \
    --cc=krzk@kernel.org \
    --cc=l.stach@pengutronix.de \
    --cc=linux+etnaviv@armlinux.org.uk \
    --cc=llvm@lists.linux.dev \
    --cc=robh+dt@kernel.org \
    --cc=sam@ravnborg.org \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.