linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Byungchul Park <byungchul.park@lge.com>
Cc: kbuild-all@01.org, peterz@infradead.org, mingo@kernel.org,
	tglx@linutronix.de, walken@google.com, boqun.feng@gmail.com,
	kirill@shutemov.name, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, akpm@linux-foundation.org,
	willy@infradead.org, npiggin@gmail.com, kernel-team@lge.com
Subject: Re: [PATCH v8 09/14] lockdep: Apply crossrelease to completions
Date: Mon, 7 Aug 2017 19:45:01 +0800	[thread overview]
Message-ID: <201708071926.9Ib1yxFh%fengguang.wu@intel.com> (raw)
In-Reply-To: <1502089981-21272-10-git-send-email-byungchul.park@lge.com>

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

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@lge.com>
:::::: CC: 0day robot <fengguang.wu@intel.com>

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

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

  parent reply	other threads:[~2017-08-08  0:19 UTC|newest]

Thread overview: 89+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-07  7:12 [PATCH v8 00/14] lockdep: Implement crossrelease feature Byungchul Park
2017-08-07  7:12 ` [PATCH v8 01/14] lockdep: Refactor lookup_chain_cache() Byungchul Park
2017-08-10 12:18   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 02/14] lockdep: Add a function building a chain between two classes Byungchul Park
2017-08-10 12:18   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 03/14] lockdep: Change the meaning of check_prev_add()'s return value Byungchul Park
2017-08-10 12:19   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 04/14] lockdep: Make check_prev_add() able to handle external stack_trace Byungchul Park
2017-08-10 12:19   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 05/14] lockdep: Implement crossrelease feature Byungchul Park
2017-08-09 14:05   ` Peter Zijlstra
2017-08-10  1:30     ` Byungchul Park
2017-08-10  9:21       ` Peter Zijlstra
2017-08-10 12:19   ` [tip:locking/core] locking/lockdep: Implement the 'crossrelease' feature tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 06/14] lockdep: Detect and handle hist_lock ring buffer overwrite Byungchul Park
2017-08-09 14:16   ` Peter Zijlstra
2017-08-10  1:32     ` Byungchul Park
2017-08-10  9:22       ` Peter Zijlstra
2017-08-10 10:32     ` Byungchul Park
2017-08-10 11:59   ` Boqun Feng
2017-08-10 12:11     ` Byungchul Park
2017-08-10 12:51       ` Boqun Feng
2017-08-10 13:17         ` Boqun Feng
2017-08-11  0:44           ` Byungchul Park
2017-08-11  3:43           ` Byungchul Park
2017-08-11  8:03             ` Boqun Feng
2017-08-11  8:52               ` Byungchul Park
2017-08-11  9:44                 ` Byungchul Park
2017-08-11 13:06                   ` Byungchul Park
2017-08-14  7:05                     ` Boqun Feng
2017-08-14  7:22                       ` Byungchul Park
2017-08-14  7:29                       ` Byungchul Park
2017-08-11  0:40         ` Byungchul Park
2017-08-11  1:03           ` Boqun Feng
2017-08-10 12:20   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 07/14] lockdep: Handle non(or multi)-acquisition of a crosslock Byungchul Park
2017-08-10 12:20   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 08/14] lockdep: Make print_circular_bug() aware of crossrelease Byungchul Park
2017-08-10 12:21   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-07  7:12 ` [PATCH v8 09/14] lockdep: Apply crossrelease to completions Byungchul Park
2017-08-07 10:20   ` kbuild test robot
2017-08-07 11:45   ` kbuild test robot [this message]
2017-08-09  9:51   ` Peter Zijlstra
2017-08-09 10:24     ` Peter Zijlstra
2017-08-10  1:24       ` Byungchul Park
2017-08-10 12:21   ` [tip:locking/core] locking/lockdep: " tip-bot for Byungchul Park
2017-08-14  8:50   ` [PATCH v8 09/14] lockdep: " Arnd Bergmann
2017-08-18 23:43     ` Boqun Feng
2017-08-19 12:51       ` Arnd Bergmann
2017-08-19 13:34         ` Arnd Bergmann
2017-08-23 14:43           ` Boqun Feng
2017-08-20  3:18         ` Boqun Feng
2017-08-07  7:12 ` [PATCH v8 10/14] pagemap.h: Remove trailing white space Byungchul Park
2017-08-07  7:12 ` [PATCH v8 11/14] lockdep: Apply crossrelease to PG_locked locks Byungchul Park
2017-08-07 10:36   ` kbuild test robot
2017-08-10  1:35   ` Byungchul Park
2017-08-10  9:25     ` Peter Zijlstra
2017-09-05  1:03   ` Byungchul Park
2017-08-07  7:12 ` [PATCH v8 12/14] lockdep: Apply lock_acquire(release) on __Set(__Clear)PageLocked Byungchul Park
2017-08-07  7:13 ` [PATCH v8 13/14] lockdep: Move data of CONFIG_LOCKDEP_PAGELOCK from page to page_ext Byungchul Park
2017-08-07 10:43   ` kbuild test robot
2017-08-07  7:13 ` [PATCH v8 14/14] lockdep: Crossrelease feature documentation Byungchul Park
2017-08-07 15:58   ` kbuild test robot
2017-08-10 12:22   ` [tip:locking/core] locking/lockdep: Add 'crossrelease' " tip-bot for Byungchul Park
2017-08-09 15:50 ` [PATCH v8 00/14] lockdep: Implement crossrelease feature Peter Zijlstra
2017-08-10  0:55   ` Byungchul Park
2017-08-10  3:47     ` Byungchul Park
2017-08-10 10:52     ` Byungchul Park
2017-08-10  9:37   ` Byungchul Park
2017-08-10 10:52     ` Peter Zijlstra
2017-08-10 11:10 ` Ingo Molnar
2017-08-10 11:45   ` Byungchul Park
2017-08-14 10:57     ` Ingo Molnar
2017-08-14 11:10       ` Byungchul Park
2017-08-15  8:20 ` Ingo Molnar
2017-08-16  0:16   ` Byungchul Park
2017-08-16  4:05     ` Boqun Feng
2017-08-16  4:37       ` Byungchul Park
2017-08-16  5:40         ` Boqun Feng
2017-08-16  6:37           ` Byungchul Park
2017-08-16  5:05       ` Byungchul Park
2017-08-16  5:58         ` Boqun Feng
2017-08-16  7:14           ` Byungchul Park
2017-08-16  8:06             ` Byungchul Park
2017-08-16  9:38               ` Byungchul Park
2017-08-17  7:48       ` Ingo Molnar
2017-08-17  8:04         ` Boqun Feng
2017-08-17  8:12           ` Ingo Molnar
2017-08-17  8:33             ` Boqun Feng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201708071926.9Ib1yxFh%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=boqun.feng@gmail.com \
    --cc=byungchul.park@lge.com \
    --cc=kbuild-all@01.org \
    --cc=kernel-team@lge.com \
    --cc=kirill@shutemov.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mingo@kernel.org \
    --cc=npiggin@gmail.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    --cc=walken@google.com \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).