* [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
@ 2021-01-19 16:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-19 16:17 UTC (permalink / raw)
To: kbuild-all
[-- 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 --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-19 16:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-19 16:17 [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 kernel test robot
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.