diff options
| author | Heiko Carstens <[email protected]> | 2013-10-31 11:48:14 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2013-11-01 07:42:44 +0000 |
| commit | 7d716456a0ee4e9bd63be9234f886d20382ac950 (patch) | |
| tree | 0ec8e4fec5a032be9db2a2337d4bd20db9d7b005 /lib/spinlock_debug.c | |
| parent | Merge branch 'linus' into sched/core (diff) | |
| download | kernel-7d716456a0ee4e9bd63be9234f886d20382ac950.tar.gz kernel-7d716456a0ee4e9bd63be9234f886d20382ac950.zip | |
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 <[email protected]>
Acked-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/20131031114814.GB5551@osiris
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions
