tree: git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.4 head: fa14e19bd78eecca201da26d22c7b95ee06769c6 commit: 2c983c686ea93d464867ca4fb4c4ce05abe20eec [2602/2653] drm/amdkcl: fake kcl copy of drm_dev_get config: c6x-allyesconfig (attached as .config) compiler: c6x-elf-gcc (GCC) 9.2.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 2c983c686ea93d464867ca4fb4c4ce05abe20eec # save the attached .config to linux build tree GCC_VERSION=9.2.0 make.cross ARCH=c6x If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): | ^~~~~~~~~~~ include/asm-generic/atomic.h:171:37: error: 'refcount_t' {aka 'const struct refcount_struct'} has no member named 'counter' 171 | #define atomic_read(v) READ_ONCE((v)->counter) | ^~ include/linux/compiler.h:265:50: note: in definition of macro '__READ_ONCE' 265 | __read_once_size_nocheck(&(x), __u.__c, sizeof(x)); \ | ^ include/asm-generic/atomic.h:171:24: note: in expansion of macro 'READ_ONCE' 171 | #define atomic_read(v) READ_ONCE((v)->counter) | ^~~~~~~~~ include/kcl/kcl_kref.h:9:9: note: in expansion of macro 'atomic_read' 9 | return atomic_read(&kref->refcount); | ^~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:191:12: error: conflicting types for 'remove_conflicting_pci_framebuffers' 191 | extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev, int res_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:31, from include/kcl/kcl_drm_connector.h:4, from <command-line>: include/linux/fb.h:610:12: note: previous declaration of 'remove_conflicting_pci_framebuffers' was here 610 | extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:214:1: error: static declaration of 'drm_gem_object_put_unlocked' follows non-static declaration 214 | drm_gem_object_put_unlocked(struct drm_gem_object *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:13, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_gem.h:388:6: note: previous declaration of 'drm_gem_object_put_unlocked' was here 388 | void drm_gem_object_put_unlocked(struct drm_gem_object *obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h: In function 'drm_gem_object_put_unlocked': include/kcl/kcl_drm.h:216:9: error: implicit declaration of function 'drm_gem_object_unreference_unlocked'; did you mean 'drm_gem_object_put_unlocked'? [-Werror=implicit-function-declaration] 216 | return drm_gem_object_unreference_unlocked(obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | drm_gem_object_put_unlocked include/kcl/kcl_drm.h:216:9: warning: 'return' with a value, in function returning void [-Wreturn-type] 216 | return drm_gem_object_unreference_unlocked(obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:214:1: note: declared here 214 | drm_gem_object_put_unlocked(struct drm_gem_object *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:230:1: error: static declaration of '__drm_atomic_helper_connector_reset' follows non-static declaration 230 | __drm_atomic_helper_connector_reset(struct drm_connector *connector, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_atomic_helper.h:34, from include/kcl/kcl_drm.h:16, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_atomic_state_helper.h:62:6: note: previous declaration of '__drm_atomic_helper_connector_reset' was here 62 | void __drm_atomic_helper_connector_reset(struct drm_connector *connector, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:242:8: error: redefinition of 'struct drm_printer' 242 | struct drm_printer { | ^~~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_print.h:74:8: note: originally defined here 74 | struct drm_printer { | ^~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:248:6: error: conflicting types for 'drm_printf' 248 | void drm_printf(struct drm_printer *p, const char *f, ...); | ^~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_print.h:91:6: note: previous declaration of 'drm_printf' was here 91 | void drm_printf(struct drm_printer *p, const char *f, ...); | ^~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:252:59: warning: 'struct drm_pending_event' declared inside parameter list will not be visible outside of this definition or declaration 252 | void drm_send_event_locked(struct drm_device *dev, struct drm_pending_event *e); | ^~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h: In function 'kcl_drm_atomic_get_old_crtc_state_before_commit': include/kcl/kcl_drm.h:278:43: error: invalid type argument of '->' (have 'struct __drm_crtcs_state') 278 | return state->crtcs[drm_crtc_index(crtc)]->state; | ^~ include/kcl/kcl_drm.h: In function 'kcl_drm_atomic_get_new_crtc_state_after_commit': include/kcl/kcl_drm.h:313:43: error: invalid type argument of '->' (have 'struct __drm_crtcs_state') 313 | return state->crtcs[drm_crtc_index(crtc)]->state; | ^~ include/kcl/kcl_drm.h: In function 'drm_dev_get': >> include/kcl/kcl_drm.h:337:2: error: implicit declaration of function 'drm_dev_ref'; did you mean 'drm_dev_get'? [-Werror=implicit-function-declaration] 337 | drm_dev_ref(dev); | ^~~~~~~~~~~ | drm_dev_get include/kcl/kcl_drm.h: In function 'drm_dev_put': >> include/kcl/kcl_drm.h:342:9: error: implicit declaration of function 'drm_dev_unref'; did you mean 'drm_dev_get'? [-Werror=implicit-function-declaration] 342 | return drm_dev_unref(dev); | ^~~~~~~~~~~~~ | drm_dev_get include/kcl/kcl_drm.h:342:9: warning: 'return' with a value, in function returning void [-Wreturn-type] 342 | return drm_dev_unref(dev); | ^~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:340:20: note: declared here 340 | static inline void drm_dev_put(struct drm_device *dev) | ^~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:354:13: error: conflicting types for '__drm_printfn_debug' 354 | extern void __drm_printfn_debug(struct drm_printer *p, struct va_format *vaf); | ^~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_print.h:87:6: note: previous declaration of '__drm_printfn_debug' was here 87 | void __drm_printfn_debug(struct drm_printer *p, struct va_format *vaf); | ^~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:356:34: error: conflicting types for 'drm_debug_printer' 356 | static inline struct drm_printer drm_debug_printer(const char *prefix) | ^~~~~~~~~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_print.h:226:34: note: previous definition of 'drm_debug_printer' was here 226 | static inline struct drm_printer drm_debug_printer(const char *prefix) | ^~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:377:6: error: static declaration of 'drm_fb_helper_cfb_fillrect' follows non-static declaration 377 | void drm_fb_helper_cfb_fillrect(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_fb_helper.h:251:6: note: previous declaration of 'drm_fb_helper_cfb_fillrect' was here 251 | void drm_fb_helper_cfb_fillrect(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:384:6: error: static declaration of 'drm_fb_helper_cfb_copyarea' follows non-static declaration 384 | void drm_fb_helper_cfb_copyarea(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_fb_helper.h:253:6: note: previous declaration of 'drm_fb_helper_cfb_copyarea' was here 253 | void drm_fb_helper_cfb_copyarea(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:391:6: error: static declaration of 'drm_fb_helper_cfb_imageblit' follows non-static declaration 391 | void drm_fb_helper_cfb_imageblit(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_fb_helper.h:255:6: note: previous declaration of 'drm_fb_helper_cfb_imageblit' was here 255 | void drm_fb_helper_cfb_imageblit(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:403:17: error: static declaration of 'drm_fb_helper_alloc_fbi' follows non-static declaration 403 | struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_fb_helper.h:228:17: note: previous declaration of 'drm_fb_helper_alloc_fbi' was here 228 | struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:410:6: error: static declaration of 'drm_fb_helper_unregister_fbi' follows non-static declaration 410 | void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_fb_helper.h:229:6: note: previous declaration of 'drm_fb_helper_unregister_fbi' was here 229 | void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/kcl/kcl_drm.h:419:6: error: static declaration of 'drm_fb_helper_set_suspend_unlocked' follows non-static declaration 419 | void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from include/kcl/kcl_drm_connector.h:7, from <command-line>: include/drm/drm_fb_helper.h:259:6: note: previous declaration of 'drm_fb_helper_set_suspend_unlocked' was here 259 | void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- In file included from <command-line>: include/kcl/kcl_drm.h:191:12: error: conflicting types for 'remove_conflicting_pci_framebuffers' 191 | extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev, int res_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:31, from include/kcl/kcl_drm.h:8, from <command-line>: include/linux/fb.h:610:12: note: previous declaration of 'remove_conflicting_pci_framebuffers' was here 610 | extern int remove_conflicting_pci_framebuffers(struct pci_dev *pdev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:214:1: error: static declaration of 'drm_gem_object_put_unlocked' follows non-static declaration 214 | drm_gem_object_put_unlocked(struct drm_gem_object *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:13, from <command-line>: include/drm/drm_gem.h:388:6: note: previous declaration of 'drm_gem_object_put_unlocked' was here 388 | void drm_gem_object_put_unlocked(struct drm_gem_object *obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h: In function 'drm_gem_object_put_unlocked': include/kcl/kcl_drm.h:216:9: error: implicit declaration of function 'drm_gem_object_unreference_unlocked'; did you mean 'drm_gem_object_put_unlocked'? [-Werror=implicit-function-declaration] 216 | return drm_gem_object_unreference_unlocked(obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | drm_gem_object_put_unlocked include/kcl/kcl_drm.h:216:9: warning: 'return' with a value, in function returning void [-Wreturn-type] 216 | return drm_gem_object_unreference_unlocked(obj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:214:1: note: declared here 214 | drm_gem_object_put_unlocked(struct drm_gem_object *obj) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:230:1: error: static declaration of '__drm_atomic_helper_connector_reset' follows non-static declaration 230 | __drm_atomic_helper_connector_reset(struct drm_connector *connector, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_atomic_helper.h:34, from include/kcl/kcl_drm.h:16, from <command-line>: include/drm/drm_atomic_state_helper.h:62:6: note: previous declaration of '__drm_atomic_helper_connector_reset' was here 62 | void __drm_atomic_helper_connector_reset(struct drm_connector *connector, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:242:8: error: redefinition of 'struct drm_printer' 242 | struct drm_printer { | ^~~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from <command-line>: include/drm/drm_print.h:74:8: note: originally defined here 74 | struct drm_printer { | ^~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:248:6: error: conflicting types for 'drm_printf' 248 | void drm_printf(struct drm_printer *p, const char *f, ...); | ^~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from <command-line>: include/drm/drm_print.h:91:6: note: previous declaration of 'drm_printf' was here 91 | void drm_printf(struct drm_printer *p, const char *f, ...); | ^~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:252:59: warning: 'struct drm_pending_event' declared inside parameter list will not be visible outside of this definition or declaration 252 | void drm_send_event_locked(struct drm_device *dev, struct drm_pending_event *e); | ^~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h: In function 'kcl_drm_atomic_get_old_crtc_state_before_commit': include/kcl/kcl_drm.h:278:43: error: invalid type argument of '->' (have 'struct __drm_crtcs_state') 278 | return state->crtcs[drm_crtc_index(crtc)]->state; | ^~ include/kcl/kcl_drm.h: In function 'kcl_drm_atomic_get_new_crtc_state_after_commit': include/kcl/kcl_drm.h:313:43: error: invalid type argument of '->' (have 'struct __drm_crtcs_state') 313 | return state->crtcs[drm_crtc_index(crtc)]->state; | ^~ include/kcl/kcl_drm.h: In function 'drm_dev_get': >> include/kcl/kcl_drm.h:337:2: error: implicit declaration of function 'drm_dev_ref'; did you mean 'drm_dev_get'? [-Werror=implicit-function-declaration] 337 | drm_dev_ref(dev); | ^~~~~~~~~~~ | drm_dev_get include/kcl/kcl_drm.h: In function 'drm_dev_put': >> include/kcl/kcl_drm.h:342:9: error: implicit declaration of function 'drm_dev_unref'; did you mean 'drm_dev_get'? [-Werror=implicit-function-declaration] 342 | return drm_dev_unref(dev); | ^~~~~~~~~~~~~ | drm_dev_get include/kcl/kcl_drm.h:342:9: warning: 'return' with a value, in function returning void [-Wreturn-type] 342 | return drm_dev_unref(dev); | ^~~~~~~~~~~~~~~~~~ include/kcl/kcl_drm.h:340:20: note: declared here 340 | static inline void drm_dev_put(struct drm_device *dev) | ^~~~~~~~~~~ include/kcl/kcl_drm.h: At top level: include/kcl/kcl_drm.h:354:13: error: conflicting types for '__drm_printfn_debug' 354 | extern void __drm_printfn_debug(struct drm_printer *p, struct va_format *vaf); | ^~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from <command-line>: include/drm/drm_print.h:87:6: note: previous declaration of '__drm_printfn_debug' was here 87 | void __drm_printfn_debug(struct drm_printer *p, struct va_format *vaf); | ^~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:356:34: error: conflicting types for 'drm_debug_printer' 356 | static inline struct drm_printer drm_debug_printer(const char *prefix) | ^~~~~~~~~~~~~~~~~ In file included from include/drm/drm_mm.h:49, from include/drm/drm_vma_manager.h:26, from include/kcl/kcl_drm.h:11, from <command-line>: include/drm/drm_print.h:226:34: note: previous definition of 'drm_debug_printer' was here 226 | static inline struct drm_printer drm_debug_printer(const char *prefix) | ^~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:377:6: error: static declaration of 'drm_fb_helper_cfb_fillrect' follows non-static declaration 377 | void drm_fb_helper_cfb_fillrect(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from <command-line>: include/drm/drm_fb_helper.h:251:6: note: previous declaration of 'drm_fb_helper_cfb_fillrect' was here 251 | void drm_fb_helper_cfb_fillrect(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:384:6: error: static declaration of 'drm_fb_helper_cfb_copyarea' follows non-static declaration 384 | void drm_fb_helper_cfb_copyarea(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from <command-line>: include/drm/drm_fb_helper.h:253:6: note: previous declaration of 'drm_fb_helper_cfb_copyarea' was here 253 | void drm_fb_helper_cfb_copyarea(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:391:6: error: static declaration of 'drm_fb_helper_cfb_imageblit' follows non-static declaration 391 | void drm_fb_helper_cfb_imageblit(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from <command-line>: include/drm/drm_fb_helper.h:255:6: note: previous declaration of 'drm_fb_helper_cfb_imageblit' was here 255 | void drm_fb_helper_cfb_imageblit(struct fb_info *info, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:403:17: error: static declaration of 'drm_fb_helper_alloc_fbi' follows non-static declaration 403 | struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper) | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from <command-line>: include/drm/drm_fb_helper.h:228:17: note: previous declaration of 'drm_fb_helper_alloc_fbi' was here 228 | struct fb_info *drm_fb_helper_alloc_fbi(struct drm_fb_helper *fb_helper); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:410:6: error: static declaration of 'drm_fb_helper_unregister_fbi' follows non-static declaration 410 | void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from <command-line>: include/drm/drm_fb_helper.h:229:6: note: previous declaration of 'drm_fb_helper_unregister_fbi' was here 229 | void drm_fb_helper_unregister_fbi(struct drm_fb_helper *fb_helper); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:419:6: error: static declaration of 'drm_fb_helper_set_suspend_unlocked' follows non-static declaration 419 | void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:9, from <command-line>: include/drm/drm_fb_helper.h:259:6: note: previous declaration of 'drm_fb_helper_set_suspend_unlocked' was here 259 | void drm_fb_helper_set_suspend_unlocked(struct drm_fb_helper *fb_helper, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:432:1: error: static declaration of 'drm_atomic_helper_update_legacy_modeset_state' follows non-static declaration 432 | drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/kcl/kcl_drm.h:16, from <command-line>: include/drm/drm_atomic_helper.h:74:1: note: previous declaration of 'drm_atomic_helper_update_legacy_modeset_state' was here 74 | drm_atomic_helper_update_legacy_modeset_state(struct drm_device *dev, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from <command-line>: include/kcl/kcl_drm.h:457:20: error: static declaration of 'drm_mode_is_420_only' follows non-static declaration 457 | static inline bool drm_mode_is_420_only(const struct drm_display_info *display, | ^~~~~~~~~~~~~~~~~~~~ In file included from include/drm/drm_crtc.h:40, from include/kcl/kcl_drm.h:8, .. vim +337 include/kcl/kcl_drm.h 333 334 #ifndef HAVE_DRM_DEV_PUT 335 static inline void drm_dev_get(struct drm_device *dev) 336 { > 337 drm_dev_ref(dev); 338 } 339 340 static inline void drm_dev_put(struct drm_device *dev) 341 { > 342 return drm_dev_unref(dev); 343 } 344 #endif 345 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel