tree:   git://people.freedesktop.org/~agd5f/linux.git amd-mainline-dkms-5.0
head:   a51a5ad4b8daf0dd0a437d51a19c2baa98953675
commit: f460c248a3f0bca3a875602cf40693de672485c4 [3697/3724] drm/amd/autoconf: 
refactor dma_fence header check
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty
        git checkout f460c248a3f0bca3a875602cf40693de672485c4
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <l...@intel.com>


sparse warnings: (new ones prefixed by >>)

   include/kcl/kcl_drm.h:167:1: sparse: sparse: multiple definitions for 
function 'drm_fb_helper_remove_conflicting_pci_framebuffers'
>> include/drm/drm_fb_helper.h:641:1: sparse:  the previous one is here
   include/kcl/kcl_drm.h:390:28: sparse: sparse: redefinition of struct 
drm_format_name_buf

vim +641 include/drm/drm_fb_helper.h

0a3bfe29f81622 Chris Wilson    2016-08-22  627  
c9527f0de508b1 Michał Mirosław 2018-09-07  628  /**
c9527f0de508b1 Michał Mirosław 2018-09-07  629   * 
drm_fb_helper_remove_conflicting_pci_framebuffers - remove firmware-configured 
framebuffers for PCI devices
c9527f0de508b1 Michał Mirosław 2018-09-07  630   * @pdev: PCI device
c9527f0de508b1 Michał Mirosław 2018-09-07  631   * @resource_id: index of PCI 
BAR configuring framebuffer memory
c9527f0de508b1 Michał Mirosław 2018-09-07  632   * @name: requesting driver name
c9527f0de508b1 Michał Mirosław 2018-09-07  633   *
c9527f0de508b1 Michał Mirosław 2018-09-07  634   * This function removes 
framebuffer devices (eg. initialized by firmware)
c9527f0de508b1 Michał Mirosław 2018-09-07  635   * using memory range 
configured for @pdev's BAR @resource_id.
c9527f0de508b1 Michał Mirosław 2018-09-07  636   *
c9527f0de508b1 Michał Mirosław 2018-09-07  637   * The function assumes that 
PCI device with shadowed ROM drives a primary
c9527f0de508b1 Michał Mirosław 2018-09-07  638   * display and so kicks out 
vga16fb.
c9527f0de508b1 Michał Mirosław 2018-09-07  639   */
4d18975c78f2d5 Michał Mirosław 2018-09-01  640  static inline int
4d18975c78f2d5 Michał Mirosław 2018-09-01 @641  
drm_fb_helper_remove_conflicting_pci_framebuffers(struct pci_dev *pdev,
4d18975c78f2d5 Michał Mirosław 2018-09-01  642                                  
                  int resource_id,
4d18975c78f2d5 Michał Mirosław 2018-09-01  643                                  
                  const char *name)
4d18975c78f2d5 Michał Mirosław 2018-09-01  644  {
4d18975c78f2d5 Michał Mirosław 2018-09-01  645  #if IS_REACHABLE(CONFIG_FB)
4d18975c78f2d5 Michał Mirosław 2018-09-01  646          return 
remove_conflicting_pci_framebuffers(pdev, resource_id, name);
4d18975c78f2d5 Michał Mirosław 2018-09-01  647  #else
4d18975c78f2d5 Michał Mirosław 2018-09-01  648          return 0;
4d18975c78f2d5 Michał Mirosław 2018-09-01  649  #endif
4d18975c78f2d5 Michał Mirosław 2018-09-01  650  }
4d18975c78f2d5 Michał Mirosław 2018-09-01  651  

:::::: The code at line 641 was first introduced by commit
:::::: 4d18975c78f2d5c91792356501cf369e67594241 fbdev: add 
remove_conflicting_pci_framebuffers()

:::::: TO: Michał Mirosław <mirq-li...@rere.qmqm.pl>
:::::: CC: Daniel Vetter <daniel.vet...@ffwll.ch>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to