Re: [PATCH v8 09/14] lockdep: Apply crossrelease to completions

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

 



Hi Byungchul,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.13-rc4 next-20170804]
[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/Byungchul-Park/lockdep-Implement-crossrelease-feature/20170807-172617
config: cris-allmodconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=cris 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/pm.h:29:0,
                    from include/linux/device.h:25,
                    from include/linux/pci.h:30,
                    from drivers/usb/host/ehci-hcd.c:24:
   include/linux/completion.h:32:27: error: field 'map' has incomplete type
     struct lockdep_map_cross map;
                              ^~~
   In file included from include/linux/spinlock_types.h:18:0,
                    from include/linux/spinlock.h:81,
                    from include/linux/seqlock.h:35,
                    from include/linux/time.h:5,
                    from include/linux/stat.h:18,
                    from include/linux/module.h:10,
                    from drivers/usb/host/ehci-hcd.c:23:
   drivers/usb/host/ehci-hub.c: In function 'ehset_single_step_set_feature':
>> include/linux/lockdep.h:578:4: error: field name not in record or union initializer
     { .map.name = (_name), .map.key = (void *)(_key), \
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:578:4: note: (near initialization for 'done.map')
     { .map.name = (_name), .map.key = (void *)(_key), \
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:578:25: error: field name not in record or union initializer
     { .map.name = (_name), .map.key = (void *)(_key), \
                            ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:578:25: note: (near initialization for 'done.map')
     { .map.name = (_name), .map.key = (void *)(_key), \
                            ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:4: error: field name not in record or union initializer
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:4: note: (near initialization for 'done.map')
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:20: error: field name not in record or union initializer
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:20: note: (near initialization for 'done.map')
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:575:4: error: field name not in record or union initializer
     { .nr_acquire = 0,}
       ^
>> include/linux/lockdep.h:579:29: note: in expansion of macro 'STATIC_CROSS_LOCK_INIT'
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                                ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:575:4: note: (near initialization for 'done.map')
     { .nr_acquire = 0,}
       ^
>> include/linux/lockdep.h:579:29: note: in expansion of macro 'STATIC_CROSS_LOCK_INIT'
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                                ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/host/ehci-hub.c:811:2: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
     DECLARE_COMPLETION_ONSTACK(done);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
--
   In file included from include/linux/pm.h:29:0,
                    from include/linux/device.h:25,
                    from include/linux/genhd.h:64,
                    from include/linux/blkdev.h:10,
                    from drivers/usb/gadget/function/f_fs.c:21:
   include/linux/completion.h:32:27: error: field 'map' has incomplete type
     struct lockdep_map_cross map;
                              ^~~
   In file included from include/linux/rcupdate.h:42:0,
                    from include/linux/rculist.h:10,
                    from include/linux/pid.h:4,
                    from include/linux/sched.h:13,
                    from include/linux/blkdev.h:4,
                    from drivers/usb/gadget/function/f_fs.c:21:
   drivers/usb/gadget/function/f_fs.c: In function 'ffs_epfile_io':
>> include/linux/lockdep.h:578:4: error: field name not in record or union initializer
     { .map.name = (_name), .map.key = (void *)(_key), \
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:578:4: note: (near initialization for 'done.map')
     { .map.name = (_name), .map.key = (void *)(_key), \
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:578:25: error: field name not in record or union initializer
     { .map.name = (_name), .map.key = (void *)(_key), \
                            ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:578:25: note: (near initialization for 'done.map')
     { .map.name = (_name), .map.key = (void *)(_key), \
                            ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:4: error: field name not in record or union initializer
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:4: note: (near initialization for 'done.map')
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:20: error: field name not in record or union initializer
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:579:20: note: (near initialization for 'done.map')
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                       ^
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:575:4: error: field name not in record or union initializer
     { .nr_acquire = 0,}
       ^
>> include/linux/lockdep.h:579:29: note: in expansion of macro 'STATIC_CROSS_LOCK_INIT'
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                                ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/lockdep.h:575:4: note: (near initialization for 'done.map')
     { .nr_acquire = 0,}
       ^
>> include/linux/lockdep.h:579:29: note: in expansion of macro 'STATIC_CROSS_LOCK_INIT'
       .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
                                ^~~~~~~~~~~~~~~~~~~~~~
>> include/linux/completion.h:70:2: note: in expansion of macro 'STATIC_CROSS_LOCKDEP_MAP_INIT'
     STATIC_CROSS_LOCKDEP_MAP_INIT("(complete)" #work, &(work)) }
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:88:27: note: in expansion of macro 'COMPLETION_INITIALIZER'
     struct completion work = COMPLETION_INITIALIZER(work)
                              ^~~~~~~~~~~~~~~~~~~~~~
   include/linux/completion.h:106:43: note: in expansion of macro 'DECLARE_COMPLETION'
    # define DECLARE_COMPLETION_ONSTACK(work) DECLARE_COMPLETION(work)
                                              ^~~~~~~~~~~~~~~~~~
   drivers/usb/gadget/function/f_fs.c:983:3: note: in expansion of macro 'DECLARE_COMPLETION_ONSTACK'
      DECLARE_COMPLETION_ONSTACK(done);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~
..

vim +578 include/linux/lockdep.h

c8ffcc97 Byungchul Park 2017-08-07  569  
5ec8f43e Byungchul Park 2017-08-07  570  /*
5ec8f43e Byungchul Park 2017-08-07  571   * What we essencially have to initialize is 'nr_acquire'. Other members
5ec8f43e Byungchul Park 2017-08-07  572   * will be initialized in add_xlock().
5ec8f43e Byungchul Park 2017-08-07  573   */
5ec8f43e Byungchul Park 2017-08-07  574  #define STATIC_CROSS_LOCK_INIT() \
5ec8f43e Byungchul Park 2017-08-07 @575  	{ .nr_acquire = 0,}
5ec8f43e Byungchul Park 2017-08-07  576  
c8ffcc97 Byungchul Park 2017-08-07  577  #define STATIC_CROSS_LOCKDEP_MAP_INIT(_name, _key) \
c8ffcc97 Byungchul Park 2017-08-07 @578  	{ .map.name = (_name), .map.key = (void *)(_key), \
5ec8f43e Byungchul Park 2017-08-07 @579  	  .map.cross = 1, .xlock = STATIC_CROSS_LOCK_INIT(), }
c8ffcc97 Byungchul Park 2017-08-07  580  

:::::: The code at line 578 was first introduced by commit
:::::: c8ffcc977b10be9026a251daeec76048b610e3d4 lockdep: Implement crossrelease feature

:::::: TO: Byungchul Park <byungchul.park@xxxxxxx>
:::::: CC: 0day robot <fengguang.wu@xxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux