[BUG] tulip/de4x5: a possible sleep-in-atomic bug in de4x5_interrupt

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


According to drivers/net/ethernet/dec/tulip/de4x5.c, the driver may sleep in the interrupt handler.
The function call path is:
de4x5_interrupt (interrupt handler)
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