flushing uninitialized work item in radeon init failure path

2013-04-04 Thread Tejun Heo
Hello, The following happens on my test machine which has an on-board VGA which is not connected. The failure is expected but, in the failure path, it calls radeon_irq_kms_fini() which flushes @rdev->*_work when @rdev seemingly hasn't gone through radeon_irq_kms_init(), ending up trying to flush

flushing uninitialized work item in radeon init failure path

2013-04-04 Thread Tejun Heo
Hello, The following happens on my test machine which has an on-board VGA which is not connected. The failure is expected but, in the failure path, it calls radeon_irq_kms_fini() which flushes @rdev-*_work when @rdev seemingly hasn't gone through radeon_irq_kms_init(), ending up trying to flush