tree:
git://git.kernel.org/pub/scm/linux/kernel/git/lkundrak/linux-mmp.git lr/ariel
head: 3b3435a6c3878066e2dd2b04e45149e022a99275
commit: d4a59e49d7c23174394812792c5a27a33b9bac29 [68/73] drm/armada: Use non-componentized
bridges
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout d4a59e49d7c23174394812792c5a27a33b9bac29
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/gpu/drm/armada/armada_drv.c: In function 'armada_drm_attach_bridge':
> drivers/gpu/drm/armada/armada_drv.c:133:22: warning: format
'%x' expects argument of type 'unsigned int', but argument 2 has type
'struct drm_bridge *' [-Wformat=]
133 | printk ("XXX XX %08x
%pOFfcFn", bridge, np);
| ~~~^ ~~~~~~
| | |
| unsigned int struct drm_bridge *
vim +133 drivers/gpu/drm/armada/armada_drv.c
121
122 static int armada_drm_attach_bridge(struct drm_device *drm, struct device_node
*np)
123 {
124 struct drm_encoder *encoder;
125 struct drm_bridge *bridge;
126 int ret;
127
128 encoder = devm_kzalloc(drm->dev, sizeof(*encoder), GFP_KERNEL);
129 if (encoder == NULL)
130 return -ENOMEM;
131
132 bridge = of_drm_find_bridge(np);
133 printk ("XXX XX %08x %pOFfcF\n", bridge, np);
134 if (!bridge)
135 return -EINVAL;
136
137 encoder->possible_crtcs = drm_of_find_possible_crtcs(drm, np);
138 ret = drm_encoder_init(drm, encoder, &armada_drm_encoder_funcs,
139 DRM_MODE_ENCODER_TMDS, NULL);
140 if (ret)
141 return ret;
142
143 ret = drm_bridge_attach(encoder, bridge, NULL, 0);
144 if (ret)
145 drm_encoder_cleanup(encoder);
146
147 return ret;
148 }
149
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org