Hi Meghana,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.14-rc2 next-20170929]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improve the system]

url:    
https://github.com/0day-ci/linux/commits/Meghana-Madhyastha/drm-tinydrm-drm_of_find_backlight-helper/20170930-122931
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: x86_64-randconfig-x017-201739 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   In file included from drivers/gpu//drm/tinydrm/mi0283qt.c:15:0:
   include/drm/drm_of.h:74:1: error: expected identifier or '(' before '{' token
    {
    ^
   include/drm/drm_of.h:80:1: error: expected identifier or '(' before '{' token
    {
    ^
   include/drm/drm_of.h:72:40: warning: 'drm_of_find_backlight' declared 
'static' but never defined [-Wunused-function]
    static inline struct backlight_device *drm_of_find_backlight(
                                           ^~~~~~~~~~~~~~~~~~~~~
>> include/drm/drm_of.h:78:40: warning: 'devm_drm_of_find_backlight' used but 
>> never defined
    static inline struct backlight_device *devm_drm_of_find_backlight(
                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +/devm_drm_of_find_backlight +78 include/drm/drm_of.h

    71  
    72  static inline struct backlight_device *drm_of_find_backlight(
    73                                          struct device *dev);
  > 74  {
    75          return -EINVAL;
    76  }
    77  
  > 78  static inline struct backlight_device *devm_drm_of_find_backlight(
    79                                                  struct device *dev);
    80  {
    81          return -EINVAL;
    82  }
    83  #endif
    84  

---
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