[BUG] atlx: a possible sleep-in-atomic bug in atl1_intr

From: Jia-Ju Bai
Date: Wed Dec 13 2017 - 05:08:15 EST


The driver may sleep in the interrupt handler.
The function call path is:
atl1_intr (interrupt handler)
atlx_irq_disable
synchronize_irq --> may sleep

I do not find a good way to fix it, so I only report.
This possible bug is found by my static analysis tool (DSAC) and checked by my code review.


Thanks,
Jia-Ju Bai