All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Tian Tao <tiantao6@hisilicon.com>
Cc: kbuild-all@lists.01.org, puck.chen@hisilicon.com,
	airlied@linux.ie, daniel@ffwll.ch, tzimmermann@suse.de,
	kraxel@redhat.com, alexander.deucher@amd.com, tglx@linutronix.de,
	dri-devel@lists.freedesktop.org, xinliang.liu@linaro.org,
	linux-kernel@vger.kernel.org, linuxarm@huawei.com
Subject: Re: [PATCH] drm/hisilicon: Add the load and unload for hibmc_driver
Date: Fri, 6 Mar 2020 17:11:38 +0800	[thread overview]
Message-ID: <202003061742.2NRtxbPD%lkp@intel.com> (raw)
In-Reply-To: <1583466184-7060-1-git-send-email-tiantao6@hisilicon.com>

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

Hi Tian,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200305]
[cannot apply to linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Tian-Tao/drm-hisilicon-Add-the-load-and-unload-for-hibmc_driver/20200306-150600
base:    47466dcf84ee66a973ea7d2fca7e582fe9328932
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_unload':
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:280:9: warning: 'return' with a value, in function returning void
     return 0;
            ^
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:265:6: note: declared here
    void hibmc_unload(struct drm_device *dev)
         ^~~~~~~~~~~~
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_pci_probe':
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:345:21: warning: unused variable 'dev' [-Wunused-variable]
     struct drm_device *dev;
                        ^~~

vim +/return +280 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

5e0df3a08f3d17 Rongrong Zou  2016-11-16  264  
da3ad5dfcca37d Tian Tao      2020-03-06  265  void hibmc_unload(struct drm_device *dev)
5e0df3a08f3d17 Rongrong Zou  2016-11-16  266  {
e4daebc77e7b34 Rongrong Zou  2016-11-16  267  	struct hibmc_drm_private *priv = dev->dev_private;
e4daebc77e7b34 Rongrong Zou  2016-11-16  268  
b3df5e65cc0369 Daniel Vetter 2017-06-21  269  	drm_atomic_helper_shutdown(dev);
b3df5e65cc0369 Daniel Vetter 2017-06-21  270  
1d98b91611725e Rongrong Zou  2016-11-16  271  	if (dev->irq_enabled)
1d98b91611725e Rongrong Zou  2016-11-16  272  		drm_irq_uninstall(dev);
1d98b91611725e Rongrong Zou  2016-11-16  273  	if (priv->msi_enabled)
1d98b91611725e Rongrong Zou  2016-11-16  274  		pci_disable_msi(dev->pdev);
1d98b91611725e Rongrong Zou  2016-11-16  275  
da52605eea8f2c Rongrong Zou  2016-11-16  276  	hibmc_kms_fini(priv);
e4daebc77e7b34 Rongrong Zou  2016-11-16  277  	hibmc_mm_fini(priv);
da3ad5dfcca37d Tian Tao      2020-03-06  278  	hibmc_hw_unmap(priv);
e4daebc77e7b34 Rongrong Zou  2016-11-16  279  	dev->dev_private = NULL;
5e0df3a08f3d17 Rongrong Zou  2016-11-16 @280  	return 0;
5e0df3a08f3d17 Rongrong Zou  2016-11-16  281  }
5e0df3a08f3d17 Rongrong Zou  2016-11-16  282  

:::::: The code at line 280 was first introduced by commit
:::::: 5e0df3a08f3d17485a5081634902424c6834e001 drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

:::::: TO: Rongrong Zou <zourongrong@gmail.com>
:::::: CC: Rongrong Zou <zourongrong@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47724 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Tian Tao <tiantao6@hisilicon.com>
Cc: kbuild-all@lists.01.org, airlied@linux.ie,
	puck.chen@hisilicon.com, linux-kernel@vger.kernel.org,
	dri-devel@lists.freedesktop.org, linuxarm@huawei.com,
	xinliang.liu@linaro.org, kraxel@redhat.com, tzimmermann@suse.de,
	alexander.deucher@amd.com, tglx@linutronix.de
Subject: Re: [PATCH] drm/hisilicon: Add the load and unload for hibmc_driver
Date: Fri, 6 Mar 2020 17:11:38 +0800	[thread overview]
Message-ID: <202003061742.2NRtxbPD%lkp@intel.com> (raw)
In-Reply-To: <1583466184-7060-1-git-send-email-tiantao6@hisilicon.com>

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

Hi Tian,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200305]
[cannot apply to linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Tian-Tao/drm-hisilicon-Add-the-load-and-unload-for-hibmc_driver/20200306-150600
base:    47466dcf84ee66a973ea7d2fca7e582fe9328932
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_unload':
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:280:9: warning: 'return' with a value, in function returning void
     return 0;
            ^
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:265:6: note: declared here
    void hibmc_unload(struct drm_device *dev)
         ^~~~~~~~~~~~
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_pci_probe':
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:345:21: warning: unused variable 'dev' [-Wunused-variable]
     struct drm_device *dev;
                        ^~~

vim +/return +280 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

5e0df3a08f3d17 Rongrong Zou  2016-11-16  264  
da3ad5dfcca37d Tian Tao      2020-03-06  265  void hibmc_unload(struct drm_device *dev)
5e0df3a08f3d17 Rongrong Zou  2016-11-16  266  {
e4daebc77e7b34 Rongrong Zou  2016-11-16  267  	struct hibmc_drm_private *priv = dev->dev_private;
e4daebc77e7b34 Rongrong Zou  2016-11-16  268  
b3df5e65cc0369 Daniel Vetter 2017-06-21  269  	drm_atomic_helper_shutdown(dev);
b3df5e65cc0369 Daniel Vetter 2017-06-21  270  
1d98b91611725e Rongrong Zou  2016-11-16  271  	if (dev->irq_enabled)
1d98b91611725e Rongrong Zou  2016-11-16  272  		drm_irq_uninstall(dev);
1d98b91611725e Rongrong Zou  2016-11-16  273  	if (priv->msi_enabled)
1d98b91611725e Rongrong Zou  2016-11-16  274  		pci_disable_msi(dev->pdev);
1d98b91611725e Rongrong Zou  2016-11-16  275  
da52605eea8f2c Rongrong Zou  2016-11-16  276  	hibmc_kms_fini(priv);
e4daebc77e7b34 Rongrong Zou  2016-11-16  277  	hibmc_mm_fini(priv);
da3ad5dfcca37d Tian Tao      2020-03-06  278  	hibmc_hw_unmap(priv);
e4daebc77e7b34 Rongrong Zou  2016-11-16  279  	dev->dev_private = NULL;
5e0df3a08f3d17 Rongrong Zou  2016-11-16 @280  	return 0;
5e0df3a08f3d17 Rongrong Zou  2016-11-16  281  }
5e0df3a08f3d17 Rongrong Zou  2016-11-16  282  

:::::: The code at line 280 was first introduced by commit
:::::: 5e0df3a08f3d17485a5081634902424c6834e001 drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

:::::: TO: Rongrong Zou <zourongrong@gmail.com>
:::::: CC: Rongrong Zou <zourongrong@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47724 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH] drm/hisilicon: Add the load and unload for hibmc_driver
Date: Fri, 06 Mar 2020 17:11:38 +0800	[thread overview]
Message-ID: <202003061742.2NRtxbPD%lkp@intel.com> (raw)
In-Reply-To: <1583466184-7060-1-git-send-email-tiantao6@hisilicon.com>

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

Hi Tian,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on next-20200305]
[cannot apply to linus/master v5.6-rc4 v5.6-rc3 v5.6-rc2 v5.6-rc4]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Tian-Tao/drm-hisilicon-Add-the-load-and-unload-for-hibmc_driver/20200306-150600
base:    47466dcf84ee66a973ea7d2fca7e582fe9328932
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_unload':
>> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:280:9: warning: 'return' with a value, in function returning void
     return 0;
            ^
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:265:6: note: declared here
    void hibmc_unload(struct drm_device *dev)
         ^~~~~~~~~~~~
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c: In function 'hibmc_pci_probe':
   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c:345:21: warning: unused variable 'dev' [-Wunused-variable]
     struct drm_device *dev;
                        ^~~

vim +/return +280 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c

5e0df3a08f3d17 Rongrong Zou  2016-11-16  264  
da3ad5dfcca37d Tian Tao      2020-03-06  265  void hibmc_unload(struct drm_device *dev)
5e0df3a08f3d17 Rongrong Zou  2016-11-16  266  {
e4daebc77e7b34 Rongrong Zou  2016-11-16  267  	struct hibmc_drm_private *priv = dev->dev_private;
e4daebc77e7b34 Rongrong Zou  2016-11-16  268  
b3df5e65cc0369 Daniel Vetter 2017-06-21  269  	drm_atomic_helper_shutdown(dev);
b3df5e65cc0369 Daniel Vetter 2017-06-21  270  
1d98b91611725e Rongrong Zou  2016-11-16  271  	if (dev->irq_enabled)
1d98b91611725e Rongrong Zou  2016-11-16  272  		drm_irq_uninstall(dev);
1d98b91611725e Rongrong Zou  2016-11-16  273  	if (priv->msi_enabled)
1d98b91611725e Rongrong Zou  2016-11-16  274  		pci_disable_msi(dev->pdev);
1d98b91611725e Rongrong Zou  2016-11-16  275  
da52605eea8f2c Rongrong Zou  2016-11-16  276  	hibmc_kms_fini(priv);
e4daebc77e7b34 Rongrong Zou  2016-11-16  277  	hibmc_mm_fini(priv);
da3ad5dfcca37d Tian Tao      2020-03-06  278  	hibmc_hw_unmap(priv);
e4daebc77e7b34 Rongrong Zou  2016-11-16  279  	dev->dev_private = NULL;
5e0df3a08f3d17 Rongrong Zou  2016-11-16 @280  	return 0;
5e0df3a08f3d17 Rongrong Zou  2016-11-16  281  }
5e0df3a08f3d17 Rongrong Zou  2016-11-16  282  

:::::: The code at line 280 was first introduced by commit
:::::: 5e0df3a08f3d17485a5081634902424c6834e001 drm/hisilicon/hibmc: Add hisilicon hibmc drm master driver

:::::: TO: Rongrong Zou <zourongrong@gmail.com>
:::::: CC: Rongrong Zou <zourongrong@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 47724 bytes --]

  parent reply	other threads:[~2020-03-06  9:12 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  3:42 [PATCH] drm/hisilicon: Add the load and unload for hibmc_driver Tian Tao
2020-03-06  3:42 ` Tian Tao
2020-03-06  3:42 ` [PATCH] drm/hisilicon: Add the shutdown for hibmc_pci_driver Tian Tao
2020-03-06  3:42   ` Tian Tao
2020-03-06  3:58   ` 答复: " tiantao (H)
2020-03-06  3:58     ` tiantao (H)
2020-03-06  3:43 ` [PATCH] drm/hisilicon: Code cleanup for hibmc_drv_vdac Tian Tao
2020-03-06  3:43   ` Tian Tao
2020-03-06  3:59   ` 答复: " tiantao (H)
2020-03-06  3:59     ` tiantao (H)
2020-03-06  3:43 ` [PATCH 1/4] drm/hisilicon: Enforce 128-byte stride alignment to fix the hardware limitation Tian Tao
2020-03-06  3:43   ` Tian Tao
2020-04-03  2:00   ` Xinliang Liu
2020-04-03  2:00     ` Xinliang Liu
2020-03-06  3:43 ` [PATCH 2/4] drm/hisilicon: Code cleanup for hibmc_drv_vdac Tian Tao
2020-03-06  3:43   ` Tian Tao
2020-04-03  2:26   ` Xinliang Liu
2020-04-03  2:26     ` Xinliang Liu
2020-04-03  7:00     ` Thomas Zimmermann
2020-04-03  7:00       ` Thomas Zimmermann
2020-03-06  3:43 ` [PATCH 3/4] drm/hisilicon: Add the load and unload for hibmc_driver Tian Tao
2020-03-06  3:43   ` Tian Tao
2020-03-06  3:43 ` [PATCH 4/4] drm/hisilicon: Add the shutdown for hibmc_pci_driver Tian Tao
2020-03-06  3:43   ` Tian Tao
2020-03-06  3:59 ` 答复: [PATCH] drm/hisilicon: Add the load and unload for hibmc_driver tiantao (H)
2020-03-06  3:59   ` tiantao (H)
2020-03-06  7:24 ` Thomas Zimmermann
2020-03-06  7:24   ` Thomas Zimmermann
2020-03-06  9:11 ` kbuild test robot [this message]
2020-03-06  9:11   ` kbuild test robot
2020-03-06  9:11   ` kbuild test robot

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=202003061742.2NRtxbPD%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kraxel@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=puck.chen@hisilicon.com \
    --cc=tglx@linutronix.de \
    --cc=tiantao6@hisilicon.com \
    --cc=tzimmermann@suse.de \
    --cc=xinliang.liu@linaro.org \
    /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.