public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* no set_current_state() before schedule_timeout() (QLA1280)
@ 2004-07-13 17:43 Nishanth Aravamudan
  0 siblings, 0 replies; only message in thread
From: Nishanth Aravamudan @ 2004-07-13 17:43 UTC (permalink / raw)
  To: kernel-janitors; +Cc: linux-scsi

Hi,

In continuing to replace, where appropriate, code with msleep() calls, I 
ran across the following file(s) / function(s), which do not invoke 
set_current_state() before schedule_timeout(), which causes the latter 
to return immediately:

drivers/scsi/qla1280.c::qla1280_bus_reset

If someone could tell me which state (TASK_INTERRUPTIBLE or 
TASK_UNINTERRUPTIBLE) is desired, I can fix this and perhaps replace the 
calls with msleep().

Thanks,
Nish

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

only message in thread, other threads:[~2004-07-13 17:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-13 17:43 no set_current_state() before schedule_timeout() (QLA1280) Nishanth Aravamudan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox