2017-12-13 10:08:08

by Jia-Ju Bai

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

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