tree:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
head:   510c200742ced5a91d07e48220b669a3c9b30c0c
commit: 23ef59ef6dcc9b62bf077490a74df93b3bb0d530 [777/788] drm: Extract 
drm_pci.h
config: i386-randconfig-x070-201710 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 23ef59ef6dcc9b62bf077490a74df93b3bb0d530
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu/drm/drm_pci.c:29:0:
>> include/drm/drm_pci.h:76:64: warning: 'struct platform_device' declared 
>> inside parameter list will not be visible outside of this definition or 
>> declaration
    extern int drm_platform_init(struct drm_driver *driver, struct 
platform_device *platform_device);
                                                                   
^~~~~~~~~~~~~~~

vim +76 include/drm/drm_pci.h

    60  
    61  static inline int drm_pci_set_busid(struct drm_device *dev,
    62                                      struct drm_master *master)
    63  {
    64          return -ENOSYS;
    65  }
    66  #endif
    67  
    68  #define DRM_PCIE_SPEED_25 1
    69  #define DRM_PCIE_SPEED_50 2
    70  #define DRM_PCIE_SPEED_80 4
    71  
    72  extern int drm_pcie_get_speed_cap_mask(struct drm_device *dev, u32 
*speed_mask);
    73  extern int drm_pcie_get_max_link_width(struct drm_device *dev, u32 
*mlw);
    74  
    75  /* platform section */
  > 76  extern int drm_platform_init(struct drm_driver *driver, struct 
platform_device *platform_device);
    77  
    78  #endif /* _DRM_PCI_H_ */

---
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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to