caif: Bugfix - wait_ev*_timeout returns long.
commit9e4b816bc31962ebbb8784d602acd5fa25a08ad8
authorSjur Braendeland <sjur.brandeland@stericsson.com>
Fri, 21 May 2010 02:16:07 +0000 (21 02:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 May 2010 06:57:41 +0000 (23 23:57 -0700)
treee4f15177ea142bacda24c6ed8495748e19cb033a
parent8ce6cebc2f126f3ecf2d80746ea54245adf18057
caif: Bugfix - wait_ev*_timeout returns long.

Discovered bug when testing on 64bit architecture.
Fixed by using long to store result from wait_event_interruptible_timeout.

Signed-off-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/caif/caif_socket.c