Re: [PATCH] qla2xxx: spin_unlock_irq in IRQ context

2007-01-09 Thread Hisashi Hifumi
Hi >If the function can be called with interrupts disabled as well as >enabled, then the spin_lock_irq needs to become a spin_lock_irqsave() >which is the correct API for this case. I know that spin_lock_irqsave()/spin_unlock_irqrestore() is correct . But in this case, many places need to be mod

[PATCH] qla2xxx: spin_unlock_irq in IRQ context

2007-01-08 Thread Hisashi Hifumi
Hi. The function qla2x00_ramp_up_queue_depth() can be called in IRQ context. So spin_unlock_irq in qla2x00_ramp_up_queue_depth() is not appropriate. Thanks. Signed-off-by :Hisashi Hifumi <[EMAIL PROTECTED]> --- linux-2.6.20-rc4.org/drivers/scsi/qla2xxx/qla_isr.c 2006-11-30