All of lore.kernel.org
 help / color / mirror / Atom feed
* [peterz-queue:sched/wip-deadline 8/19] kernel/livepatch/../sched/sched.h:1152:17: error: 'struct rq' has no member named 'balance_callback'
@ 2019-11-07 14:42 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-07 14:42 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wip-deadline
head:   ce1dcff5ecf17661383fc5dd94425c44b5793548
commit: 28d6595b2e7e35f7b4f4df0270a9f601fba430e2 [8/19] sched: Validate balance_callback state
config: x86_64-randconfig-c003-201944 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout 28d6595b2e7e35f7b4f4df0270a9f601fba430e2
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   In file included from arch/x86/include/asm/bug.h:83:0,
                    from include/linux/bug.h:5,
                    from include/linux/debug_locks.h:7,
                    from include/linux/lockdep.h:28,
                    from include/linux/spinlock_types.h:18,
                    from include/linux/mutex.h:16,
                    from include/linux/kernfs.h:12,
                    from include/linux/sysfs.h:16,
                    from include/linux/kobject.h:20,
                    from include/linux/device.h:16,
                    from include/linux/node.h:18,
                    from include/linux/cpu.h:17,
                    from kernel/livepatch/transition.c:10:
   kernel/livepatch/../sched/sched.h: In function 'rq_pin_lock':
>> kernel/livepatch/../sched/sched.h:1152:17: error: 'struct rq' has no member named 'balance_callback'
     WARN_ON_ONCE(rq->balance_callback);
                    ^
   include/asm-generic/bug.h:96:25: note: in definition of macro 'WARN_ON_ONCE'
     int __ret_warn_on = !!(condition);   \
                            ^~~~~~~~~

vim +1152 kernel/livepatch/../sched/sched.h

  1138	
  1139	static inline void rq_pin_lock(struct rq *rq, struct rq_flags *rf)
  1140	{
  1141		rf->cookie = lockdep_pin_lock(&rq->lock);
  1142	
  1143	#ifdef CONFIG_SCHED_DEBUG
  1144		rq->clock_update_flags &= (RQCF_REQ_SKIP|RQCF_ACT_SKIP);
  1145		rf->clock_update_flags = 0;
  1146		/*
  1147		 * Verify that If a rq->lock section uses queue_balance_callback() it
  1148		 * calls balance_callback() right after releasing the rq->lock.
  1149		 *
  1150		 * If it does that, the next rq->lock shoud observe a NULL list.
  1151		 */
> 1152		WARN_ON_ONCE(rq->balance_callback);
  1153	#endif
  1154	}
  1155	

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

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

only message in thread, other threads:[~2019-11-07 14:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 14:42 [peterz-queue:sched/wip-deadline 8/19] kernel/livepatch/../sched/sched.h:1152:17: error: 'struct rq' has no member named 'balance_callback' kbuild 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.