All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [lkundrak-linux-mmp:lr/ariel 20/82] drivers/gpu/drm/armada/armada_drv.c:132:22: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct drm_bridge
Date: Wed, 20 Jan 2021 00:17:27 +0800	[thread overview]
Message-ID: <202101200016.INaRzIQF-lkp@intel.com> (raw)

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

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/lkundrak/linux-mmp.git lr/ariel
head:   0a4e7b14d84d9ea5f1ce759fbf09b8bdd4788a2b
commit: 811f673eea14808cd2f83c4dec2e018ab3d2b016 [20/82] drm/armada: Use non-componentized bridges
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-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://git.kernel.org/pub/scm/linux/kernel/git/lkundrak/linux-mmp.git/commit/?id=811f673eea14808cd2f83c4dec2e018ab3d2b016
        git remote add lkundrak-linux-mmp git://git.kernel.org/pub/scm/linux/kernel/git/lkundrak/linux-mmp.git
        git fetch --no-tags lkundrak-linux-mmp lr/ariel
        git checkout 811f673eea14808cd2f83c4dec2e018ab3d2b016
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/armada/armada_drv.c: In function 'armada_drm_attach_bridge':
>> drivers/gpu/drm/armada/armada_drv.c:132:22: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct drm_bridge *' [-Wformat=]
     132 | printk ("XXX   XX %08x %pOFfcF\n", bridge, np);
         |                   ~~~^             ~~~~~~
         |                      |             |
         |                      unsigned int  struct drm_bridge *


vim +132 drivers/gpu/drm/armada/armada_drv.c

   120	
   121	static int armada_drm_attach_bridge(struct drm_device *drm, struct device_node *np)
   122	{
   123		struct drm_encoder *encoder;
   124		struct drm_bridge *bridge;
   125		int ret;
   126	
   127		encoder = devm_kzalloc(drm->dev, sizeof(*encoder), GFP_KERNEL);
   128		if (encoder == NULL)
   129			return -ENOMEM;
   130	
   131		bridge = of_drm_find_bridge(np);
 > 132	printk ("XXX   XX %08x %pOFfcF\n", bridge, np);
   133		if (!bridge)
   134			return -EINVAL;
   135	
   136		encoder->possible_crtcs = drm_of_find_possible_crtcs(drm, np);
   137		ret = drm_encoder_init(drm, encoder, &armada_drm_encoder_funcs,
   138				       DRM_MODE_ENCODER_TMDS, NULL);
   139		if (ret)
   140			return ret;
   141	
   142		ret = drm_bridge_attach(encoder, bridge, NULL, 0);
   143		if (ret)
   144			drm_encoder_cleanup(encoder);
   145	
   146		return ret;
   147	}
   148	

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

                 reply	other threads:[~2021-01-19 16:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202101200016.INaRzIQF-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.