tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 
debugfs_cleanup
head:   33e8fa816cc944702c27209feb7a88fc0b4b5c7a
commit: 8c404cfe3e58120800e912665bd6b9d50bd29329 [51/55] drivers/platform: 
break up
config: i386-randconfig-m1-05091710 (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 8c404cfe3e58120800e912665bd6b9d50bd29329
        # save the attached .config to linux build tree
        make ARCH=i386 

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

All warnings (new ones prefixed by >>):

   drivers/platform/x86/intel_pmc_core.c: In function 'pmc_core_dbgfs_register':
>> drivers/platform/x86/intel_pmc_core.c:796:1: warning: no return statement in 
>> function returning non-void [-Wreturn-type]
    }
    ^

vim +796 drivers/platform/x86/intel_pmc_core.c

b740d2e9 Rajneesh Bhardwaj  2016-05-26  753  
8c404cfe Greg Kroah-Hartman 2019-02-07  754  static void 
pmc_core_dbgfs_register(struct pmc_dev *pmcdev)
b740d2e9 Rajneesh Bhardwaj  2016-05-26  755  {
750e0f57 Rajneesh Bhardwaj  2018-01-19  756     struct dentry *dir;
b740d2e9 Rajneesh Bhardwaj  2016-05-26  757  
b740d2e9 Rajneesh Bhardwaj  2016-05-26  758     dir = 
debugfs_create_dir("pmc_core", NULL);
b740d2e9 Rajneesh Bhardwaj  2016-05-26  759     pmcdev->dbgfs_dir = dir;
9c2ee199 Rajneesh Bhardwaj  2016-10-07  760  
750e0f57 Rajneesh Bhardwaj  2018-01-19  761     
debugfs_create_file("slp_s0_residency_usec", 0444, dir, pmcdev,
750e0f57 Rajneesh Bhardwaj  2018-01-19  762                         
&pmc_core_dev_state);
750e0f57 Rajneesh Bhardwaj  2018-01-19  763  
750e0f57 Rajneesh Bhardwaj  2018-01-19  764     
debugfs_create_file("pch_ip_power_gating_status", 0444, dir, pmcdev,
3b1f9955 Yangtao Li         2018-12-05  765                         
&pmc_core_ppfear_fops);
750e0f57 Rajneesh Bhardwaj  2018-01-19  766  
750e0f57 Rajneesh Bhardwaj  2018-01-19  767     
debugfs_create_file("ltr_ignore", 0644, dir, pmcdev,
9c2ee199 Rajneesh Bhardwaj  2016-10-07  768                         
&pmc_core_ltr_ignore_ops);
9c2ee199 Rajneesh Bhardwaj  2016-10-07  769  
cd89e92b Rajneesh Bhardwaj  2019-02-01  770     debugfs_create_file("ltr_show", 
0444, dir, pmcdev, &pmc_core_ltr_fops);
2eb15055 Rajneesh Bhardwaj  2018-11-09  771  
8aba056a Rajneesh Bhardwaj  2019-02-14  772     
debugfs_create_file("package_cstate_show", 0444, dir, pmcdev,
8aba056a Rajneesh Bhardwaj  2019-02-14  773                         
&pmc_core_pkgc_fops);
8aba056a Rajneesh Bhardwaj  2019-02-14  774  
750e0f57 Rajneesh Bhardwaj  2018-01-19  775     if (pmcdev->map->pll_sts)
750e0f57 Rajneesh Bhardwaj  2018-01-19  776             
debugfs_create_file("pll_status", 0444, dir, pmcdev,
3b1f9955 Yangtao Li         2018-12-05  777                                 
&pmc_core_pll_fops);
750e0f57 Rajneesh Bhardwaj  2018-01-19  778  
750e0f57 Rajneesh Bhardwaj  2018-01-19  779     if (pmcdev->map->mphy_sts)
750e0f57 Rajneesh Bhardwaj  2018-01-19  780             
debugfs_create_file("mphy_core_lanes_power_gating_status",
750e0f57 Rajneesh Bhardwaj  2018-01-19  781                                 
0444, dir, pmcdev,
3b1f9955 Yangtao Li         2018-12-05  782                                 
&pmc_core_mphy_pg_fops);
0bdfaf42 Rajneesh Bhardwaj  2016-10-07  783  
4cf2afd6 Box, David E       2018-06-08  784     if 
(pmcdev->map->slps0_dbg_maps) {
4cf2afd6 Box, David E       2018-06-08  785             
debugfs_create_file("slp_s0_debug_status", 0444,
4cf2afd6 Box, David E       2018-06-08  786                                 
dir, pmcdev,
4cf2afd6 Box, David E       2018-06-08  787                                 
&pmc_core_slps0_dbg_fops);
4cf2afd6 Box, David E       2018-06-08  788  
4cf2afd6 Box, David E       2018-06-08  789             
debugfs_create_bool("slp_s0_dbg_latch", 0644,
4cf2afd6 Box, David E       2018-06-08  790                                 
dir, &slps0_dbg_latch);
4cf2afd6 Box, David E       2018-06-08  791     }
b740d2e9 Rajneesh Bhardwaj  2016-05-26  792  }
0bdfaf42 Rajneesh Bhardwaj  2016-10-07  793  #else
0bdfaf42 Rajneesh Bhardwaj  2016-10-07  794  static inline int 
pmc_core_dbgfs_register(struct pmc_dev *pmcdev)
0bdfaf42 Rajneesh Bhardwaj  2016-10-07  795  {
b740d2e9 Rajneesh Bhardwaj  2016-05-26 @796  }
b740d2e9 Rajneesh Bhardwaj  2016-05-26  797  

:::::: The code at line 796 was first introduced by commit
:::::: b740d2e9233cb33626d3b62210bcfc6a34baa839 platform/x86: Add PMC Driver 
for Intel Core SoC

:::::: TO: Rajneesh Bhardwaj <rajneesh.bhard...@intel.com>
:::::: CC: Darren Hart <dvh...@linux.intel.com>

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