tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   3cc275229e713135bfacb30ea82112f15a03d74f
commit: 3cc275229e713135bfacb30ea82112f15a03d74f [124/124] platform/x86: fix up 
changelog
config: x86_64-rhel (attached as .config)
compiler: gcc-8 (Debian 8.2.0-14) 8.2.0
reproduce:
        git checkout 3cc275229e713135bfacb30ea82112f15a03d74f
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

>> drivers/platform/x86/acer-wmi.c:2166:15: warning: return type defaults to 
>> 'int' [-Wreturn-type]
    static __init create_debugfs(void)
                  ^~~~~~~~~~~~~~
   drivers/platform/x86/acer-wmi.c: In function 'create_debugfs':
>> drivers/platform/x86/acer-wmi.c:2172:1: warning: control reaches end of 
>> non-void function [-Wreturn-type]
    }
    ^

vim +/int +2166 drivers/platform/x86/acer-wmi.c

  2165  
> 2166  static __init create_debugfs(void)
  2167  {
  2168          interface->debug.root = debugfs_create_dir("acer-wmi", NULL);
  2169  
  2170          debugfs_create_u32("devices", S_IRUGO, interface->debug.root,
  2171                             &interface->debug.wmid_devices);
> 2172  }
  2173  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to