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: [RFC] drm/connector: Set the default callback function for drm_connector_funcs
Date: Fri, 08 Jan 2021 23:17:21 +0800	[thread overview]
Message-ID: <202101082314.wT1PL2iw-lkp@intel.com> (raw)
In-Reply-To: <1610092442-36168-1-git-send-email-tiantao6@hisilicon.com>

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

Hi Tian,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.11-rc2 next-20210108]
[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/Tian-Tao/drm-connector-Set-the-default-callback-function-for-drm_connector_funcs/20210108-165753
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git f5e6c330254ae691f6d7befe61c786eb5056007e
config: powerpc64-randconfig-r004-20210108 (attached as .config)
compiler: powerpc64-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/37e7ae0ccb8825f7718028991d1635d60323f9dc
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Tian-Tao/drm-connector-Set-the-default-callback-function-for-drm_connector_funcs/20210108-165753
        git checkout 37e7ae0ccb8825f7718028991d1635d60323f9dc
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=powerpc64 

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/aspeed/aspeed_gfx_out.c: In function 'aspeed_gfx_create_output':
>> drivers/gpu/drm/aspeed/aspeed_gfx_out.c:39:6: warning: passing argument 3 of 'drm_connector_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
      39 |      &aspeed_gfx_connector_funcs,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/drm/drm_modes.h:33,
                    from include/drm/drm_crtc.h:40,
                    from include/drm/drm_atomic_helper.h:31,
                    from drivers/gpu/drm/aspeed/aspeed_gfx_out.c:4:
   include/drm/drm_connector.h:1515:38: note: expected 'struct drm_connector_funcs *' but argument is of type 'const struct drm_connector_funcs *'
    1515 |          struct drm_connector_funcs *funcs,
         |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
--
   drivers/gpu/drm/xlnx/zynqmp_dp.c: In function 'zynqmp_dp_drm_init':
>> drivers/gpu/drm/xlnx/zynqmp_dp.c:1623:6: warning: passing argument 3 of 'drm_connector_init' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
    1623 |      &zynqmp_dp_connector_funcs,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   In file included from include/drm/drm_modes.h:33,
                    from include/drm/drm_crtc.h:40,
                    from include/drm/drm_atomic_helper.h:31,
                    from drivers/gpu/drm/xlnx/zynqmp_dp.c:12:
   include/drm/drm_connector.h:1515:38: note: expected 'struct drm_connector_funcs *' but argument is of type 'const struct drm_connector_funcs *'
    1515 |          struct drm_connector_funcs *funcs,
         |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~


vim +39 drivers/gpu/drm/aspeed/aspeed_gfx_out.c

4f2a8f5898ecd80 Joel Stanley  2019-04-03  28  
4f2a8f5898ecd80 Joel Stanley  2019-04-03  29  int aspeed_gfx_create_output(struct drm_device *drm)
4f2a8f5898ecd80 Joel Stanley  2019-04-03  30  {
cd8294540776f79 Daniel Vetter 2020-04-15  31  	struct aspeed_gfx *priv = to_aspeed_gfx(drm);
4f2a8f5898ecd80 Joel Stanley  2019-04-03  32  	int ret;
4f2a8f5898ecd80 Joel Stanley  2019-04-03  33  
4f2a8f5898ecd80 Joel Stanley  2019-04-03  34  	priv->connector.dpms = DRM_MODE_DPMS_OFF;
4f2a8f5898ecd80 Joel Stanley  2019-04-03  35  	priv->connector.polled = 0;
4f2a8f5898ecd80 Joel Stanley  2019-04-03  36  	drm_connector_helper_add(&priv->connector,
4f2a8f5898ecd80 Joel Stanley  2019-04-03  37  				 &aspeed_gfx_connector_helper_funcs);
4f2a8f5898ecd80 Joel Stanley  2019-04-03  38  	ret = drm_connector_init(drm, &priv->connector,
4f2a8f5898ecd80 Joel Stanley  2019-04-03 @39  				 &aspeed_gfx_connector_funcs,

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

  parent reply	other threads:[~2021-01-08 15:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-08  7:54 [RFC] drm/connector: Set the default callback function for drm_connector_funcs Tian Tao
2021-01-08  8:12 ` Thomas Zimmermann
2021-01-08  8:58   ` Daniel Vetter
2021-01-08 13:07   ` Jani Nikula
2021-01-08 15:16 ` kernel test robot
2021-01-08 15:17 ` kernel test robot [this message]
2021-01-08 23:32 ` kernel 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=202101082314.wT1PL2iw-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.