Subject: STMMAC: sleep inside atomic

From: Jiri Slaby <[email-masked]>
Date: Sat, 04 Sep 2010 13:47:52 +0200

Hi,

stanse found that the driver may sleep inside atomic:
stmmac_resume
  -> spin_lock
  -> stmmac_open
    -> request_irq
    -> kzalloc(..., GFP_KERNEL);
    -> init_dma_desc_rings
      -> kmalloc(..., GFP_KERNEL);
    -> and many others...
  -> spin_unlock

Could you fix that?

regards,
-- 
js