sched/wait: Fix __wait_event_interruptible_lock_irq_timeout()
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 31 Oct 2013 11:48:14 +0000 (12:48 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 1 Nov 2013 07:42:44 +0000 (08:42 +0100)
commit7d716456a0ee4e9bd63be9234f886d20382ac950
tree0ec8e4fec5a032be9db2a2337d4bd20db9d7b005
parentfb10d5b7efbcc0aa9e46a9aa5ad86772c7bacb9a
sched/wait: Fix __wait_event_interruptible_lock_irq_timeout()

__wait_event_interruptible_lock_irq_timeout() needs the timeout
parameter passed instead of "ret".

This magically compiled since the only user has a local ret
variable. Luckily we got a build warning:

  CC      drivers/s390/scsi/zfcp_qdio.o
  drivers/s390/scsi/zfcp_qdio.c: In function 'zfcp_qdio_sbal_get':
  include/linux/wait.h:780:15: warning: 'ret' may be used uninitialized

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/20131031114814.GB5551@osiris
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/wait.h