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

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

 



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@xxxxxxxxxxxxxxx>
:::::: CC: Daniel Vetter <daniel.vetter@xxxxxxxx>

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

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]