tree: git://people.freedesktop.org/~agd5f/linux.git upstream-4.14-drm-next-amd-dc-staging-chrome head: 4448b9a68413462529d018050cd246bc33957bd6 commit: 74667d0b87be12956d9266ae54757db7adf6d1e6 [3/16] drm: Pass struct drm_file * to __drm_mode_object_find [v2] config: i386-randconfig-s0-201746 (attached as .config) compiler: gcc-6 (Debian 6.4.0-9) 6.4.0 20171026 reproduce: git checkout 74667d0b87be12956d9266ae54757db7adf6d1e6 # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): drivers/staging//vboxvideo/vbox_mode.c: In function 'vbox_best_single_encoder': >> drivers/staging//vboxvideo/vbox_mode.c:380:43: warning: passing argument 2 of 'drm_encoder_find' makes pointer from integer without a cast [-Wint-conversion] return drm_encoder_find(connector->dev, enc_id); ^~~~~~ In file included from include/drm/drm_modeset_helper_vtables.h:33:0, from include/drm/drm_crtc_helper.h:43, from drivers/staging//vboxvideo/vbox_mode.c:35: include/drm/drm_encoder.h:216:35: note: expected 'struct drm_file *' but argument is of type 'int' static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev, ^~~~~~~~~~~~~~~~ >> drivers/staging//vboxvideo/vbox_mode.c:380:10: error: too few arguments to function 'drm_encoder_find' return drm_encoder_find(connector->dev, enc_id); ^~~~~~~~~~~~~~~~ In file included from include/drm/drm_modeset_helper_vtables.h:33:0, from include/drm/drm_crtc_helper.h:43, from drivers/staging//vboxvideo/vbox_mode.c:35: include/drm/drm_encoder.h:216:35: note: declared here static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev, ^~~~~~~~~~~~~~~~ vim +/drm_encoder_find +380 drivers/staging//vboxvideo/vbox_mode.c dd55d44f4 Hans de Goede 2017-07-06 372 dd55d44f4 Hans de Goede 2017-07-06 373 static struct drm_encoder *vbox_best_single_encoder(struct drm_connector dd55d44f4 Hans de Goede 2017-07-06 374 *connector) dd55d44f4 Hans de Goede 2017-07-06 375 { dd55d44f4 Hans de Goede 2017-07-06 376 int enc_id = connector->encoder_ids[0]; dd55d44f4 Hans de Goede 2017-07-06 377 dd55d44f4 Hans de Goede 2017-07-06 378 /* pick the encoder ids */ dd55d44f4 Hans de Goede 2017-07-06 379 if (enc_id) dd55d44f4 Hans de Goede 2017-07-06 @380 return drm_encoder_find(connector->dev, enc_id); dd55d44f4 Hans de Goede 2017-07-06 381 dd55d44f4 Hans de Goede 2017-07-06 382 return NULL; dd55d44f4 Hans de Goede 2017-07-06 383 } dd55d44f4 Hans de Goede 2017-07-06 384 :::::: The code at line 380 was first introduced by commit :::::: dd55d44f408419278c00887bfcb2261d0caae350 staging: vboxvideo: Add vboxvideo to drivers/staging :::::: TO: Hans de Goede <hdegoede@xxxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel