All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUG] tulip/de4x5: a possible sleep-in-atomic bug in de4x5_interrupt
@ 2017-12-13 10:13 Jia-Ju Bai
  0 siblings, 0 replies; only message in thread
From: Jia-Ju Bai @ 2017-12-13 10:13 UTC (permalink / raw)
  To: davem, Stephen Hemminger, keescook, dhowells, allen.lkml,
	johannes.berg, arvind.yadav.cs
  Cc: netdev, linux-parisc, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-13 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 10:13 [BUG] tulip/de4x5: a possible sleep-in-atomic bug in de4x5_interrupt Jia-Ju Bai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.