Hi Chris,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on next-20170405]
[cannot apply to v4.11-rc5]
[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/Chris-Wilson/drm-i915-Only-report-a-wakeup-if-the-waiter-was-truly-asleep/20170405-165353
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-sb0-04050506 (attached as .config)
compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/intel_breadcrumbs.c: In function '__wake_up_sleeper':
>> drivers/gpu/drm/i915/intel_breadcrumbs.c:38:13: error: 'struct task_struct' 
>> has no member named 'on_cpu'
     return !tsk->on_cpu && wake_up_process(tsk);
                ^
   drivers/gpu/drm/i915/intel_breadcrumbs.c:39:1: warning: control reaches end 
of non-void function [-Wreturn-type]
    }
    ^

vim +38 drivers/gpu/drm/i915/intel_breadcrumbs.c

    32          /* Be careful not to report a successful wakeup if the waiter is
    33           * currently processing the seqno, where it will have already
    34           * called set_task_state(TASK_INTERRUPTIBLE). We first check 
whether
    35           * the task is currently asleep before calling ttwu, and then we
    36           * only report success if we were the ones to then trigger the 
wakeup.
    37           */
  > 38          return !tsk->on_cpu && wake_up_process(tsk);
    39  }
    40  
    41  static unsigned int __intel_breadcrumbs_wakeup(struct intel_breadcrumbs 
*b)

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

Attachment: .config.gz
Description: application/gzip

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to