tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.2 head: a48b0cc1cdf3900e3e73801f9de64afbb70dc193 commit: fa3a28572dee89436a969d4c9b15b7f3d65102b4 [2700/2834] drm/amdkcl: drop kcl_drm_fb_helper_set_suspend_unlocked config: x86_64-randconfig-e004-201944 (attached as .config) compiler: gcc-7 (Debian 7.4.0-14) 7.4.0 reproduce: git checkout fa3a28572dee89436a969d4c9b15b7f3d65102b4 # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:158:1: error: redefinition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:612:1: note: previous definition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' was here drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:179:6: error: static declaration of 'drm_fb_helper_cfb_fillrect' follows non-static declaration void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:289:6: note: previous declaration of 'drm_fb_helper_cfb_fillrect' was here void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:186:6: error: static declaration of 'drm_fb_helper_cfb_copyarea' follows non-static declaration void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:291:6: note: previous declaration of 'drm_fb_helper_cfb_copyarea' was here void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:193:6: error: static declaration of 'drm_fb_helper_cfb_imageblit' follows non-static declaration void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:293:6: note: previous declaration of 'drm_fb_helper_cfb_imageblit' was here void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:205:17: error: static declaration of 'drm_fb_helper_alloc_fbi' follows non-static declaration struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:265:17: note: previous declaration of 'drm_fb_helper_alloc_fbi' was here struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:212:6: error: static declaration of 'drm_fb_helper_unregister_fbi' follows non-static declaration void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:266:6: note: previous declaration of 'drm_fb_helper_unregister_fbi' was here void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:221:6: error: static declaration of 'drm_fb_helper_set_suspend_unlocked' follows non-static declaration void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:297:6: note: previous declaration of 'drm_fb_helper_set_suspend_unlocked' was here void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_fb_helper_set_suspend_unlocked': >> include/kcl/kcl_drm.h:225:53: error: 'state' undeclared (first use in this function); did you mean 'statx'? _kcl_drm_fb_helper_set_suspend_unlocked(fb_helper, state); ^~~~~ statx include/kcl/kcl_drm.h:225:53: note: each undeclared identifier is reported only once for each function it appears in include/kcl/kcl_drm.h: In function 'kcl_drm_encoder_init': include/kcl/kcl_drm.h:306:9: error: too few arguments to function 'drm_encoder_init' return drm_encoder_init(dev, encoder, funcs, ^~~~~~~~~~~~~~~~ In file included from include/drm/drm_modeset_helper_vtables.h:33:0, from include/drm/drm_atomic_helper.h:32, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_encoder.h:183:5: note: declared here int drm_encoder_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_crtc_init_with_planes': include/kcl/kcl_drm.h:321:10: error: too few arguments to function 'drm_crtc_init_with_planes' return drm_crtc_init_with_planes(dev, crtc, primary, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drmP.h:68:0, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_crtc.h:1120:5: note: declared here int drm_crtc_init_with_planes(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_universal_plane_init': include/kcl/kcl_drm.h:342:29: error: incompatible type for argument 7 of 'drm_universal_plane_init' formats, format_count, type); ^~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: expected 'const uint64_t * {aka const long long unsigned int *}' but argument is of type 'enum drm_plane_type' int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:341:10: error: too few arguments to function 'drm_universal_plane_init' return drm_universal_plane_init(dev, plane, possible_crtcs, funcs, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: declared here int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_gem_object_lookup': include/kcl/kcl_drm.h:353:32: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types] return drm_gem_object_lookup(dev, filp, handle); ^~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'struct drm_file *' but argument is of type 'struct drm_device *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:353:37: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion] return drm_gem_object_lookup(dev, filp, handle); ^~~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'u32 {aka unsigned int}' but argument is of type 'struct drm_file *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:353:10: error: too many arguments to function 'drm_gem_object_lookup' return drm_gem_object_lookup(dev, filp, handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: -- In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:158:1: error: redefinition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:612:1: note: previous definition of 'drm_fb_helper_remove_conflicting_pci_framebuffers' was here drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:179:6: error: static declaration of 'drm_fb_helper_cfb_fillrect' follows non-static declaration void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:289:6: note: previous declaration of 'drm_fb_helper_cfb_fillrect' was here void drm_fb_helper_cfb_fillrect(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:186:6: error: static declaration of 'drm_fb_helper_cfb_copyarea' follows non-static declaration void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:291:6: note: previous declaration of 'drm_fb_helper_cfb_copyarea' was here void drm_fb_helper_cfb_copyarea(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:193:6: error: static declaration of 'drm_fb_helper_cfb_imageblit' follows non-static declaration void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:293:6: note: previous declaration of 'drm_fb_helper_cfb_imageblit' was here void drm_fb_helper_cfb_imageblit(struct fb_info *info, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:205:17: error: static declaration of 'drm_fb_helper_alloc_fbi' follows non-static declaration struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:265:17: note: previous declaration of 'drm_fb_helper_alloc_fbi' was here struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:212:6: error: static declaration of 'drm_fb_helper_unregister_fbi' follows non-static declaration void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:266:6: note: previous declaration of 'drm_fb_helper_unregister_fbi' was here void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: >> include/kcl/kcl_drm.h:221:6: error: static declaration of 'drm_fb_helper_set_suspend_unlocked' follows non-static declaration void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:7:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_fb_helper.h:297:6: note: previous declaration of 'drm_fb_helper_set_suspend_unlocked' was here void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'drm_fb_helper_set_suspend_unlocked': >> include/kcl/kcl_drm.h:225:53: error: 'state' undeclared (first use in this function); did you mean 'statx'? _kcl_drm_fb_helper_set_suspend_unlocked(fb_helper, state); ^~~~~ statx include/kcl/kcl_drm.h:225:53: note: each undeclared identifier is reported only once for each function it appears in include/kcl/kcl_drm.h: In function 'kcl_drm_encoder_init': include/kcl/kcl_drm.h:306:9: error: too few arguments to function 'drm_encoder_init' return drm_encoder_init(dev, encoder, funcs, ^~~~~~~~~~~~~~~~ In file included from include/drm/drm_modeset_helper_vtables.h:33:0, from include/drm/drm_atomic_helper.h:32, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_encoder.h:183:5: note: declared here int drm_encoder_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_crtc_init_with_planes': include/kcl/kcl_drm.h:321:10: error: too few arguments to function 'drm_crtc_init_with_planes' return drm_crtc_init_with_planes(dev, crtc, primary, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drmP.h:68:0, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_crtc.h:1120:5: note: declared here int drm_crtc_init_with_planes(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_universal_plane_init': include/kcl/kcl_drm.h:342:29: error: incompatible type for argument 7 of 'drm_universal_plane_init' formats, format_count, type); ^~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: expected 'const uint64_t * {aka const long long unsigned int *}' but argument is of type 'enum drm_plane_type' int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:341:10: error: too few arguments to function 'drm_universal_plane_init' return drm_universal_plane_init(dev, plane, possible_crtcs, funcs, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:45:0, from include/drm/drmP.h:68, from include/kcl/kcl_drm.h:6, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_plane.h:713:5: note: declared here int drm_universal_plane_init(struct drm_device *dev, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h: In function 'kcl_drm_gem_object_lookup': include/kcl/kcl_drm.h:353:32: error: passing argument 1 of 'drm_gem_object_lookup' from incompatible pointer type [-Werror=incompatible-pointer-types] return drm_gem_object_lookup(dev, filp, handle); ^~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'struct drm_file *' but argument is of type 'struct drm_device *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:353:37: warning: passing argument 2 of 'drm_gem_object_lookup' makes integer from pointer without a cast [-Wint-conversion] return drm_gem_object_lookup(dev, filp, handle); ^~~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/drm/drm_gem.h:386:24: note: expected 'u32 {aka unsigned int}' but argument is of type 'struct drm_file *' struct drm_gem_object *drm_gem_object_lookup(struct drm_file *filp, u32 handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_backport.h:5:0, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: include/kcl/kcl_drm.h:353:10: error: too many arguments to function 'drm_gem_object_lookup' return drm_gem_object_lookup(dev, filp, handle); ^~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:10:0, from include/kcl/kcl_drm_backport.h:5, from drivers/gpu/drm/ttm/backport/backport.h:6, from <command-line>:0: .. vim +/drm_fb_helper_set_suspend_unlocked +221 include/kcl/kcl_drm.h 217 218 #ifndef HAVE_DRM_FB_HELPER_SET_SUSPEND_UNLOCKED 219 extern void _kcl_drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, int state); 220 static inline > 221 void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, 222 bool suspend) 223 224 { > 225 _kcl_drm_fb_helper_set_suspend_unlocked(fb_helper, state); 226 } 227 #endif 228 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel