All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nirmoy Das <nirmoy.das@amd.com>, dri-devel@lists.freedesktop.org
Cc: kbuild-all@lists.01.org, David Airlie <airlied@linux.ie>,
	intel-gfx@lists.freedesktop.org, Nirmoy Das <nirmoy.das@amd.com>,
	Jonathan Hunter <jonathanh@nvidia.com>
Subject: Re: [Intel-gfx] [PATCH 5/5] drm/tegra: check root dentry before debugfs init
Date: Mon, 8 Nov 2021 14:35:32 +0800	[thread overview]
Message-ID: <202111081408.vyGS2ivF-lkp@intel.com> (raw)
In-Reply-To: <20211008091704.27094-5-nirmoy.das@amd.com>

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

Hi Nirmoy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on tegra/for-next drm-tip/drm-tip linus/master v5.15 next-20211108]
[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/Nirmoy-Das/dri-cleanup-debugfs-error-handling/20211008-173312
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm64-randconfig-r012-20211008 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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/313e208057ad9c5d5de6c0fdb03fb575f71270e3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Nirmoy-Das/dri-cleanup-debugfs-error-handling/20211008-173312
        git checkout 313e208057ad9c5d5de6c0fdb03fb575f71270e3
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/tegra/

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/tegra/dc.c: In function 'tegra_dc_late_register':
>> drivers/gpu/drm/tegra/dc.c:1626:18: error: 'struct drm_crtc' has no member named 'debugfs_entry'
    1626 |         if (!crtc->debugfs_entry) {
         |                  ^~
   drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_update_memory_bandwidth':
   drivers/gpu/drm/tegra/dc.c:1853:53: warning: variable 'new_dc_state' set but not used [-Wunused-but-set-variable]
    1853 |         const struct tegra_dc_state *old_dc_state, *new_dc_state;
         |                                                     ^~~~~~~~~~~~
   drivers/gpu/drm/tegra/dc.c:1853:38: warning: variable 'old_dc_state' set but not used [-Wunused-but-set-variable]
    1853 |         const struct tegra_dc_state *old_dc_state, *new_dc_state;
         |                                      ^~~~~~~~~~~~
   drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_calculate_memory_bandwidth':
   drivers/gpu/drm/tegra/dc.c:2233:38: warning: variable 'old_state' set but not used [-Wunused-but-set-variable]
    2233 |         const struct drm_crtc_state *old_state;
         |                                      ^~~~~~~~~


vim +1626 drivers/gpu/drm/tegra/dc.c

  1618	
  1619	static int tegra_dc_late_register(struct drm_crtc *crtc)
  1620	{
  1621		unsigned int i, count = ARRAY_SIZE(debugfs_files);
  1622		struct drm_minor *minor = crtc->dev->primary;
  1623		struct dentry *root;
  1624		struct tegra_dc *dc = to_tegra_dc(crtc);
  1625	
> 1626		if (!crtc->debugfs_entry) {
  1627			dc->debugfs_files = NULL;
  1628			return 0;
  1629		}
  1630	

---
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: 43752 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Nirmoy Das <nirmoy.das@amd.com>, dri-devel@lists.freedesktop.org
Cc: kbuild-all@lists.01.org, David Airlie <airlied@linux.ie>,
	intel-gfx@lists.freedesktop.org, Nirmoy Das <nirmoy.das@amd.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Thierry Reding <thierry.reding@gmail.com>
Subject: Re: [PATCH 5/5] drm/tegra: check root dentry before debugfs init
Date: Mon, 8 Nov 2021 14:35:32 +0800	[thread overview]
Message-ID: <202111081408.vyGS2ivF-lkp@intel.com> (raw)
In-Reply-To: <20211008091704.27094-5-nirmoy.das@amd.com>

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

Hi Nirmoy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on tegra/for-next drm-tip/drm-tip linus/master v5.15 next-20211108]
[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/Nirmoy-Das/dri-cleanup-debugfs-error-handling/20211008-173312
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm64-randconfig-r012-20211008 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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/313e208057ad9c5d5de6c0fdb03fb575f71270e3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Nirmoy-Das/dri-cleanup-debugfs-error-handling/20211008-173312
        git checkout 313e208057ad9c5d5de6c0fdb03fb575f71270e3
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/tegra/

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/tegra/dc.c: In function 'tegra_dc_late_register':
>> drivers/gpu/drm/tegra/dc.c:1626:18: error: 'struct drm_crtc' has no member named 'debugfs_entry'
    1626 |         if (!crtc->debugfs_entry) {
         |                  ^~
   drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_update_memory_bandwidth':
   drivers/gpu/drm/tegra/dc.c:1853:53: warning: variable 'new_dc_state' set but not used [-Wunused-but-set-variable]
    1853 |         const struct tegra_dc_state *old_dc_state, *new_dc_state;
         |                                                     ^~~~~~~~~~~~
   drivers/gpu/drm/tegra/dc.c:1853:38: warning: variable 'old_dc_state' set but not used [-Wunused-but-set-variable]
    1853 |         const struct tegra_dc_state *old_dc_state, *new_dc_state;
         |                                      ^~~~~~~~~~~~
   drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_calculate_memory_bandwidth':
   drivers/gpu/drm/tegra/dc.c:2233:38: warning: variable 'old_state' set but not used [-Wunused-but-set-variable]
    2233 |         const struct drm_crtc_state *old_state;
         |                                      ^~~~~~~~~


vim +1626 drivers/gpu/drm/tegra/dc.c

  1618	
  1619	static int tegra_dc_late_register(struct drm_crtc *crtc)
  1620	{
  1621		unsigned int i, count = ARRAY_SIZE(debugfs_files);
  1622		struct drm_minor *minor = crtc->dev->primary;
  1623		struct dentry *root;
  1624		struct tegra_dc *dc = to_tegra_dc(crtc);
  1625	
> 1626		if (!crtc->debugfs_entry) {
  1627			dc->debugfs_files = NULL;
  1628			return 0;
  1629		}
  1630	

---
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: 43752 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH 5/5] drm/tegra: check root dentry before debugfs init
Date: Mon, 08 Nov 2021 14:35:32 +0800	[thread overview]
Message-ID: <202111081408.vyGS2ivF-lkp@intel.com> (raw)
In-Reply-To: <20211008091704.27094-5-nirmoy.das@amd.com>

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

Hi Nirmoy,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on tegra/for-next drm-tip/drm-tip linus/master v5.15 next-20211108]
[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/Nirmoy-Das/dri-cleanup-debugfs-error-handling/20211008-173312
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: arm64-randconfig-r012-20211008 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
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/313e208057ad9c5d5de6c0fdb03fb575f71270e3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Nirmoy-Das/dri-cleanup-debugfs-error-handling/20211008-173312
        git checkout 313e208057ad9c5d5de6c0fdb03fb575f71270e3
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/gpu/drm/tegra/

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

All errors (new ones prefixed by >>):

   drivers/gpu/drm/tegra/dc.c: In function 'tegra_dc_late_register':
>> drivers/gpu/drm/tegra/dc.c:1626:18: error: 'struct drm_crtc' has no member named 'debugfs_entry'
    1626 |         if (!crtc->debugfs_entry) {
         |                  ^~
   drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_update_memory_bandwidth':
   drivers/gpu/drm/tegra/dc.c:1853:53: warning: variable 'new_dc_state' set but not used [-Wunused-but-set-variable]
    1853 |         const struct tegra_dc_state *old_dc_state, *new_dc_state;
         |                                                     ^~~~~~~~~~~~
   drivers/gpu/drm/tegra/dc.c:1853:38: warning: variable 'old_dc_state' set but not used [-Wunused-but-set-variable]
    1853 |         const struct tegra_dc_state *old_dc_state, *new_dc_state;
         |                                      ^~~~~~~~~~~~
   drivers/gpu/drm/tegra/dc.c: In function 'tegra_crtc_calculate_memory_bandwidth':
   drivers/gpu/drm/tegra/dc.c:2233:38: warning: variable 'old_state' set but not used [-Wunused-but-set-variable]
    2233 |         const struct drm_crtc_state *old_state;
         |                                      ^~~~~~~~~


vim +1626 drivers/gpu/drm/tegra/dc.c

  1618	
  1619	static int tegra_dc_late_register(struct drm_crtc *crtc)
  1620	{
  1621		unsigned int i, count = ARRAY_SIZE(debugfs_files);
  1622		struct drm_minor *minor = crtc->dev->primary;
  1623		struct dentry *root;
  1624		struct tegra_dc *dc = to_tegra_dc(crtc);
  1625	
> 1626		if (!crtc->debugfs_entry) {
  1627			dc->debugfs_files = NULL;
  1628			return 0;
  1629		}
  1630	

---
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: 43752 bytes --]

  reply	other threads:[~2021-11-08  6:36 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08  9:17 [Intel-gfx] [PATCH 1/5] dri: cleanup debugfs error handling Nirmoy Das
2021-10-08  9:17 ` Nirmoy Das
2021-10-08  9:17 ` [Intel-gfx] [PATCH 2/5] drm/i915: check dri root before debugfs init Nirmoy Das
2021-10-08  9:17   ` Nirmoy Das
2021-10-12  9:59   ` [Intel-gfx] " Wang, Zhi A
2021-10-12  9:59     ` Wang, Zhi A
2021-10-12 10:19     ` [Intel-gfx] " Das, Nirmoy
2021-10-12 10:19       ` Das, Nirmoy
2021-10-08  9:17 ` [Intel-gfx] [PATCH 3/5] drm/radeon: " Nirmoy Das
2021-10-08  9:17   ` Nirmoy Das
2021-10-08 10:23   ` [Intel-gfx] " Christian König
2021-10-08 10:23     ` Christian König
2021-10-08 10:34     ` [Intel-gfx] " Das, Nirmoy
2021-10-08 10:34       ` Das, Nirmoy
2021-10-08  9:17 ` [Intel-gfx] [PATCH 4/5] drm/armada: check dri/crtc " Nirmoy Das
2021-10-08  9:17   ` Nirmoy Das
2021-10-12 19:40   ` [Intel-gfx] " kernel test robot
2021-10-12 19:40     ` kernel test robot
2021-10-12 19:40     ` kernel test robot
2021-10-08  9:17 ` [Intel-gfx] [PATCH 5/5] drm/tegra: check root dentry " Nirmoy Das
2021-10-08  9:17   ` Nirmoy Das
2021-11-08  6:35   ` kernel test robot [this message]
2021-11-08  6:35     ` kernel test robot
2021-11-08  6:35     ` kernel test robot
2021-10-08  9:35 ` [Intel-gfx] [PATCH 1/5] dri: cleanup debugfs error handling Thomas Zimmermann
2021-10-08  9:35   ` Thomas Zimmermann
2021-10-08  9:40 ` [Intel-gfx] " Jani Nikula
2021-10-08 11:07   ` Greg KH
2021-10-08 12:08     ` Das, Nirmoy
     [not found]     ` <02fc9da3-ebac-2df1-3a54-d764b273f91b@amd.com>
2021-10-08 12:56       ` Fw: " Das, Nirmoy
     [not found]         ` <c4f1464d-19b6-04a3-e2d8-a153bfbb050a@amd.com>
     [not found]           ` <YWBfvILqkBQ8VSYc@kroah.com>
2021-10-11 14:19             ` Christian König
2021-10-11 14:53               ` Greg KH
2021-10-11 16:38                 ` Jani Nikula
2021-10-11 17:07                   ` Greg KH
2021-10-11 18:43                     ` Jani Nikula
2021-10-11 15:13               ` Das, Nirmoy
2021-10-08 14:09 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/5] " Patchwork
2021-10-08 14:10 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2021-10-08 19:18 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork

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=202111081408.vyGS2ivF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jonathanh@nvidia.com \
    --cc=kbuild-all@lists.01.org \
    --cc=nirmoy.das@amd.com \
    /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.