All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [Intel-gfx] [PATCH v3 4/5] drm/print: move conditional deref into macro defn
Date: Thu, 15 Jul 2021 05:49:22 +0800	[thread overview]
Message-ID: <202107150524.xgR34N7Q-lkp@intel.com> (raw)
In-Reply-To: <20210714175138.319514-5-jim.cromie@gmail.com>

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

Hi Jim,

I love your patch! Yet something to improve:

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on drm-tip/drm-tip linus/master v5.14-rc1 next-20210714]
[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/Jim-Cromie/drm-use-dyndbg-in-drm_print/20210715-015347
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: h8300-randconfig-r016-20210714 (attached as .config)
compiler: h8300-linux-gcc (GCC) 9.3.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/4a3dcdd418da090977ab9fa225818e5ad142288d
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Jim-Cromie/drm-use-dyndbg-in-drm_print/20210715-015347
        git checkout 4a3dcdd418da090977ab9fa225818e5ad142288d
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash drivers/gpu/drm/mxsfb/

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 >>):

   In file included from include/drm/drm_mm.h:49,
                    from include/drm/drm_vma_manager.h:26,
                    from include/drm/drm_gem.h:40,
                    from include/drm/drm_gem_cma_helper.h:7,
                    from drivers/gpu/drm/mxsfb/mxsfb_kms.c:25:
   drivers/gpu/drm/mxsfb/mxsfb_kms.c: In function 'mxsfb_set_formats':
>> include/drm/drm_print.h:330:30: error: 'struct device' has no member named 'dev'; did you mean 'devt'?
     330 |  _drm_dev_dbg((drm) ? (drm)->dev : NULL, cls, fmt, ##__VA_ARGS__)
         |                              ^~~
   include/drm/drm_print.h:439:2: note: in expansion of macro 'drm_dev_dbg'
     439 |  drm_dev_dbg(dev, cDRM_UT_DRIVER, fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~
   drivers/gpu/drm/mxsfb/mxsfb_kms.c:60:2: note: in expansion of macro 'DRM_DEV_DEBUG_DRIVER'
      60 |  DRM_DEV_DEBUG_DRIVER(drm->dev, "Using bus_format: 0x%08X\n",
         |  ^~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/mxsfb/mxsfb_kms.c: In function 'mxsfb_crtc_mode_set_nofb':
>> include/drm/drm_print.h:330:30: error: 'struct device' has no member named 'dev'; did you mean 'devt'?
     330 |  _drm_dev_dbg((drm) ? (drm)->dev : NULL, cls, fmt, ##__VA_ARGS__)
         |                              ^~~
   include/drm/drm_print.h:439:2: note: in expansion of macro 'drm_dev_dbg'
     439 |  drm_dev_dbg(dev, cDRM_UT_DRIVER, fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~
   drivers/gpu/drm/mxsfb/mxsfb_kms.c:220:2: note: in expansion of macro 'DRM_DEV_DEBUG_DRIVER'
     220 |  DRM_DEV_DEBUG_DRIVER(drm->dev, "Pixel clock: %dkHz (actual: %dkHz)\n",
         |  ^~~~~~~~~~~~~~~~~~~~
>> include/drm/drm_print.h:330:30: error: 'struct device' has no member named 'dev'; did you mean 'devt'?
     330 |  _drm_dev_dbg((drm) ? (drm)->dev : NULL, cls, fmt, ##__VA_ARGS__)
         |                              ^~~
   include/drm/drm_print.h:439:2: note: in expansion of macro 'drm_dev_dbg'
     439 |  drm_dev_dbg(dev, cDRM_UT_DRIVER, fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~
   drivers/gpu/drm/mxsfb/mxsfb_kms.c:223:2: note: in expansion of macro 'DRM_DEV_DEBUG_DRIVER'
     223 |  DRM_DEV_DEBUG_DRIVER(drm->dev, "Connector bus_flags: 0x%08X\n",
         |  ^~~~~~~~~~~~~~~~~~~~
>> include/drm/drm_print.h:330:30: error: 'struct device' has no member named 'dev'; did you mean 'devt'?
     330 |  _drm_dev_dbg((drm) ? (drm)->dev : NULL, cls, fmt, ##__VA_ARGS__)
         |                              ^~~
   include/drm/drm_print.h:439:2: note: in expansion of macro 'drm_dev_dbg'
     439 |  drm_dev_dbg(dev, cDRM_UT_DRIVER, fmt, ##__VA_ARGS__)
         |  ^~~~~~~~~~~
   drivers/gpu/drm/mxsfb/mxsfb_kms.c:225:2: note: in expansion of macro 'DRM_DEV_DEBUG_DRIVER'
     225 |  DRM_DEV_DEBUG_DRIVER(drm->dev, "Mode flags: 0x%08X\n", m->flags);
         |  ^~~~~~~~~~~~~~~~~~~~


vim +330 include/drm/drm_print.h

   323	
   324	/* Use legacy drm-debug functions, and drm_debug_enabled().
   325	 * For cDRM_UT_* (converted category), identity map to DRM_UT_*
   326	 */
   327	#define __drm_dbg(cls, fmt, ...)			\
   328		___drm_dbg(cls, fmt, ##__VA_ARGS__)
   329	#define drm_dev_dbg(drm, cls, fmt, ...)			\
 > 330		_drm_dev_dbg((drm) ? (drm)->dev : NULL, cls, fmt, ##__VA_ARGS__)
   331	

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

  reply	other threads:[~2021-07-14 21:49 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-14 17:51 [PATCH v3 0/5] drm: use dyndbg in drm_print Jim Cromie
2021-07-14 17:51 ` [Intel-gfx] " Jim Cromie
2021-07-14 17:51 ` Jim Cromie
2021-07-14 17:51 ` [PATCH v3 1/5] drm/print: fixup spelling in a comment Jim Cromie
2021-07-14 17:51   ` [Intel-gfx] " Jim Cromie
2021-07-14 17:51   ` Jim Cromie
2021-07-20 13:08   ` Daniel Vetter
2021-07-20 13:08     ` [Intel-gfx] " Daniel Vetter
2021-07-20 13:08     ` Daniel Vetter
2021-07-14 17:51 ` [PATCH v3 2/5] drm_print.h: rewrap __DRM_DEFINE_DBG_RATELIMITED macro Jim Cromie
2021-07-14 17:51   ` [Intel-gfx] " Jim Cromie
2021-07-14 17:51   ` Jim Cromie
2021-07-14 17:51 ` [PATCH v3 3/5] drm/print: RFC add choice to use dynamic debug in drm-debug Jim Cromie
2021-07-14 17:51   ` [Intel-gfx] " Jim Cromie
2021-07-14 17:51   ` Jim Cromie
2021-07-20 13:29   ` Daniel Vetter
2021-07-20 13:29     ` [Intel-gfx] " Daniel Vetter
2021-07-20 13:29     ` Daniel Vetter
2021-07-22 15:20     ` [Intel-gfx] " Sean Paul
2021-07-22 15:20       ` Sean Paul
2021-07-27 14:02       ` Sean Paul
2021-07-27 14:02         ` Sean Paul
2021-07-27 14:02         ` Sean Paul
2021-07-28 21:22         ` jim.cromie
2021-07-28 21:22           ` jim.cromie
2021-07-28 21:22           ` jim.cromie
2021-07-22 19:38     ` jim.cromie
2021-07-22 19:38       ` [Intel-gfx] " jim.cromie
2021-07-22 19:38       ` jim.cromie
2022-03-05 16:06     ` Jim Cromie
2022-03-05 16:06       ` [Intel-gfx] " Jim Cromie
2022-03-05 16:06       ` Jim Cromie
2021-07-14 17:51 ` [PATCH v3 4/5] drm/print: move conditional deref into macro defn Jim Cromie
2021-07-14 17:51   ` [Intel-gfx] " Jim Cromie
2021-07-14 17:51   ` Jim Cromie
2021-07-14 21:49   ` kernel test robot [this message]
2021-07-14 23:51     ` [Intel-gfx] " jim.cromie
2021-07-14 22:00   ` kernel test robot
2021-07-14 23:34   ` kernel test robot
2021-07-14 17:51 ` [PATCH v3 5/5] i915: map gvt pr_debug categories to bits in parameters/debug_gvt Jim Cromie
2021-07-14 17:51   ` [Intel-gfx] " Jim Cromie
2021-07-14 17:51   ` Jim Cromie
2021-07-16 14:33 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for drm: use dyndbg in drm_print (rev2) 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=202107150524.xgR34N7Q-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.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.