[Intel-gfx] [PATCH] drm/i915: Exit cherryview_irq_handler() after one pass

kbuild test robot lkp at intel.com
Thu Mar 10 12:12:18 UTC 2016


Hi Chris,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.5-rc7 next-20160310]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-Exit-cherryview_irq_handler-after-one-pass/20160310-194801
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-allyesconfig (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/i915/i915_irq.c: In function 'cherryview_irq_handler':
>> drivers/gpu/drm/i915/i915_irq.c:1836:3: error: break statement not within loop or switch
      break;
      ^

vim +1836 drivers/gpu/drm/i915/i915_irq.c

1f814dac Imre Deak     2015-12-16  1830  	disable_rpm_wakeref_asserts(dev_priv);
1f814dac Imre Deak     2015-12-16  1831  
8e5fd599 Ville Syrjälä 2014-04-09  1832  	master_ctl = I915_READ(GEN8_MASTER_IRQ) & ~GEN8_MASTER_IRQ_CONTROL;
43f328d7 Ville Syrjälä 2014-04-09  1833  	iir = I915_READ(VLV_IIR);
43f328d7 Ville Syrjälä 2014-04-09  1834  
3278f67f Ville Syrjälä 2014-04-09  1835  	if (master_ctl == 0 && iir == 0)
8e5fd599 Ville Syrjälä 2014-04-09 @1836  		break;
43f328d7 Ville Syrjälä 2014-04-09  1837  
27b6c122 Oscar Mateo   2014-06-16  1838  	ret = IRQ_HANDLED;
43f328d7 Ville Syrjälä 2014-04-09  1839  

:::::: The code at line 1836 was first introduced by commit
:::::: 8e5fd599eb219f1054e39b40d18b217af669eea9 drm/i915/chv: Make CHV irq handler loop until all interrupts are consumed

:::::: TO: Ville Syrjälä <ville.syrjala at linux.intel.com>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 52462 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160310/263a07f7/attachment-0001.obj>


More information about the Intel-gfx mailing list