All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-review:UPDATE-20201019-112134/Srinivasan-Raju/wireless-Initial-driver-submission-for-pureLiFi-STA-devices/20201016-144105 1/1] drivers/net/wireless/purelifi/usb.c:1516:2: error: expected '}' before '.' token
@ 2020-10-20  5:17 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-20  5:17 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4304 bytes --]

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20201019-112134/Srinivasan-Raju/wireless-Initial-driver-submission-for-pureLiFi-STA-devices/20201016-144105
head:   6af27df93ddca3819f37f2c80554f72236d5043f
commit: 6af27df93ddca3819f37f2c80554f72236d5043f [1/1] wireless: Initial driver submission for pureLiFi STA devices
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/6af27df93ddca3819f37f2c80554f72236d5043f
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20201019-112134/Srinivasan-Raju/wireless-Initial-driver-submission-for-pureLiFi-STA-devices/20201016-144105
        git checkout 6af27df93ddca3819f37f2c80554f72236d5043f
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from include/linux/kernel.h:11,
                    from drivers/net/wireless/purelifi/usb.c:3:
   include/linux/scatterlist.h: In function 'sg_set_buf':
   arch/m68k/include/asm/page_mm.h:169:49: warning: ordered comparison of pointer with null pointer [-Wextra]
     169 | #define virt_addr_valid(kaddr) ((void *)(kaddr) >= (void *)PAGE_OFFSET && (void *)(kaddr) < high_memory)
         |                                                 ^~
   include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
      78 | # define unlikely(x) __builtin_expect(!!(x), 0)
         |                                          ^
   include/linux/scatterlist.h:143:2: note: in expansion of macro 'BUG_ON'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |  ^~~~~~
   include/linux/scatterlist.h:143:10: note: in expansion of macro 'virt_addr_valid'
     143 |  BUG_ON(!virt_addr_valid(buf));
         |          ^~~~~~~~~~~~~~~
   In file included from include/uapi/linux/posix_types.h:5,
                    from include/uapi/linux/types.h:14,
                    from include/linux/types.h:6,
                    from include/linux/limits.h:6,
                    from include/linux/kernel.h:7,
                    from drivers/net/wireless/purelifi/usb.c:3:
   drivers/net/wireless/purelifi/usb.c: At top level:
>> include/linux/stddef.h:8:14: error: expected identifier before '(' token
       8 | #define NULL ((void *)0)
         |              ^
   drivers/net/wireless/purelifi/usb.c:1503:17: note: in expansion of macro 'NULL'
    1503 | #define suspend NULL
         |                 ^~~~
   drivers/net/wireless/purelifi/usb.c:1515:3: note: in expansion of macro 'suspend'
    1515 |  .suspend        = suspend,
         |   ^~~~~~~
>> drivers/net/wireless/purelifi/usb.c:1516:2: error: expected '}' before '.' token
    1516 |  .resume         = resume,
         |  ^
   drivers/net/wireless/purelifi/usb.c:1508:35: note: to match this '{'
    1508 | static struct usb_driver driver = {
         |                                   ^
   drivers/net/wireless/purelifi/usb.c:1457:29: warning: 'get_purelifi_usb' defined but not used [-Wunused-function]
    1457 | static struct purelifi_usb *get_purelifi_usb(struct usb_interface *intf)
         |                             ^~~~~~~~~~~~~~~~

vim +1516 drivers/net/wireless/purelifi/usb.c

  1502	
> 1503	#define suspend NULL
  1504	#define resume  NULL
  1505	
  1506	#endif
  1507	
  1508	static struct usb_driver driver = {
  1509		.name        = KBUILD_MODNAME,
  1510		.id_table    = usb_ids,
  1511		.probe        = probe,
  1512		.disconnect    = disconnect,
  1513		.pre_reset    = pre_reset,
  1514		.post_reset    = post_reset,
  1515		.suspend        = suspend,
> 1516		.resume         = resume,
  1517		.disable_hub_initiated_lpm = 1,
  1518	};
  1519	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 57916 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-20  5:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20  5:17 [linux-review:UPDATE-20201019-112134/Srinivasan-Raju/wireless-Initial-driver-submission-for-pureLiFi-STA-devices/20201016-144105 1/1] drivers/net/wireless/purelifi/usb.c:1516:2: error: expected '}' before '.' token kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.