[staging:staging-testing 264/264] include/linux/greybus/svc.h:91:18: warning: 'struct gb_svc_l2_timer_cfg' declared inside parameter list will not be visible outside of this definition or declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   c10bf3921e743dadb11a6cf59ffaf38cdbeb281b
commit: c10bf3921e743dadb11a6cf59ffaf38cdbeb281b [264/264] staging: greybus: add missing includes
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout c10bf3921e743dadb11a6cf59ffaf38cdbeb281b
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=sh 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

   In file included from <command-line>:0:0:
>> include/linux/greybus/svc.h:91:18: warning: 'struct gb_svc_l2_timer_cfg' declared inside parameter list will not be visible outside of this definition or declaration
              struct gb_svc_l2_timer_cfg *local,
                     ^~~~~~~~~~~~~~~~~~~

vim +91 include/linux/greybus/svc.h

fc8a4027135252 drivers/staging/greybus/svc.h David Lin          2016-07-07   81  
19151c3dd4cfcc drivers/staging/greybus/svc.h Viresh Kumar       2015-09-09   82  int gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
19151c3dd4cfcc drivers/staging/greybus/svc.h Viresh Kumar       2015-09-09   83  			u32 *value);
19151c3dd4cfcc drivers/staging/greybus/svc.h Viresh Kumar       2015-09-09   84  int gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector,
19151c3dd4cfcc drivers/staging/greybus/svc.h Viresh Kumar       2015-09-09   85  			u32 value);
aab4a1a3684a46 drivers/staging/greybus/svc.h Laurent Pinchart   2016-01-06   86  int gb_svc_intf_set_power_mode(struct gb_svc *svc, u8 intf_id, u8 hs_series,
aab4a1a3684a46 drivers/staging/greybus/svc.h Laurent Pinchart   2016-01-06   87  			       u8 tx_mode, u8 tx_gear, u8 tx_nlanes,
8c2522d87ab20b drivers/staging/greybus/svc.h Eli Sennesh        2016-06-03   88  			       u8 tx_amplitude, u8 tx_hs_equalizer,
aab4a1a3684a46 drivers/staging/greybus/svc.h Laurent Pinchart   2016-01-06   89  			       u8 rx_mode, u8 rx_gear, u8 rx_nlanes,
8c2522d87ab20b drivers/staging/greybus/svc.h Eli Sennesh        2016-06-03   90  			       u8 flags, u32 quirks,
8c2522d87ab20b drivers/staging/greybus/svc.h Eli Sennesh        2016-06-03  @91  			       struct gb_svc_l2_timer_cfg *local,
8c2522d87ab20b drivers/staging/greybus/svc.h Eli Sennesh        2016-06-03   92  			       struct gb_svc_l2_timer_cfg *remote);
c7dc28ff2b47d6 drivers/staging/greybus/svc.h David Lin          2016-07-07   93  int gb_svc_intf_set_power_mode_hibernate(struct gb_svc *svc, u8 intf_id);
55ec09e898adb4 drivers/staging/greybus/svc.h Greg Kroah-Hartman 2016-01-19   94  int gb_svc_ping(struct gb_svc *svc);
ed7279ae31b0a0 drivers/staging/greybus/svc.h Greg Kroah-Hartman 2016-01-20   95  int gb_svc_watchdog_create(struct gb_svc *svc);
ed7279ae31b0a0 drivers/staging/greybus/svc.h Greg Kroah-Hartman 2016-01-20   96  void gb_svc_watchdog_destroy(struct gb_svc *svc);
d562853d3ecc31 drivers/staging/greybus/svc.h Greg Kroah-Hartman 2016-01-26   97  bool gb_svc_watchdog_enabled(struct gb_svc *svc);
d562853d3ecc31 drivers/staging/greybus/svc.h Greg Kroah-Hartman 2016-01-26   98  int gb_svc_watchdog_enable(struct gb_svc *svc);
d562853d3ecc31 drivers/staging/greybus/svc.h Greg Kroah-Hartman 2016-01-26   99  int gb_svc_watchdog_disable(struct gb_svc *svc);
30c6d9d753724b drivers/staging/greybus/svc.h Alex Elder         2015-05-22  100  

:::::: The code at line 91 was first introduced by commit
:::::: 8c2522d87ab20ba245ddf92e4e8b19a76e5760fd greybus: update UniPro Set Interface Power Mode operation to match spec

:::::: TO: Eli Sennesh <esennesh@xxxxxxxxxxxx>
:::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxx>

---
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
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux