* [PATCH 4.0-rt] powerpc: ps3/device-init.c - adapt to completions using swait vs wait
@ 2015-05-31 18:44 Paul Gortmaker
2015-06-11 8:53 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 2+ messages in thread
From: Paul Gortmaker @ 2015-05-31 18:44 UTC (permalink / raw)
To: Sebastian Andrzej Siewior; +Cc: linux-rt-users, Paul Gortmaker
To fix:
cc1: warnings being treated as errors
arch/powerpc/platforms/ps3/device-init.c: In function 'ps3_notification_read_write':
arch/powerpc/platforms/ps3/device-init.c:755:2: error: passing argument 1 of 'prepare_to_wait_event' from incompatible pointer type
arch/powerpc/platforms/ps3/device-init.c:755:2: error: passing argument 1 of 'abort_exclusive_wait' from incompatible pointer type
arch/powerpc/platforms/ps3/device-init.c:755:2: error: passing argument 1 of 'finish_wait' from incompatible pointer type
arch/powerpc/platforms/ps3/device-init.o] Error 1
make[3]: *** Waiting for unfinished jobs....
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
[probably best squished to fixup_opencoded_completions.patch ? ]
arch/powerpc/platforms/ps3/device-init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platforms/ps3/device-init.c b/arch/powerpc/platforms/ps3/device-init.c
index 3f175e8aedb4..c4c02f91904c 100644
--- a/arch/powerpc/platforms/ps3/device-init.c
+++ b/arch/powerpc/platforms/ps3/device-init.c
@@ -752,7 +752,7 @@ static int ps3_notification_read_write(struct ps3_notification_device *dev,
}
pr_debug("%s:%u: notification %s issued\n", __func__, __LINE__, op);
- res = wait_event_interruptible(dev->done.wait,
+ res = swait_event_interruptible(dev->done.wait,
dev->done.done || kthread_should_stop());
if (kthread_should_stop())
res = -EINTR;
--
2.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4.0-rt] powerpc: ps3/device-init.c - adapt to completions using swait vs wait
2015-05-31 18:44 [PATCH 4.0-rt] powerpc: ps3/device-init.c - adapt to completions using swait vs wait Paul Gortmaker
@ 2015-06-11 8:53 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-06-11 8:53 UTC (permalink / raw)
To: Paul Gortmaker; +Cc: linux-rt-users
* Paul Gortmaker | 2015-05-31 14:44:42 [-0400]:
>To fix:
>
> cc1: warnings being treated as errors
> arch/powerpc/platforms/ps3/device-init.c: In function 'ps3_notification_read_write':
> arch/powerpc/platforms/ps3/device-init.c:755:2: error: passing argument 1 of 'prepare_to_wait_event' from incompatible pointer type
> arch/powerpc/platforms/ps3/device-init.c:755:2: error: passing argument 1 of 'abort_exclusive_wait' from incompatible pointer type
> arch/powerpc/platforms/ps3/device-init.c:755:2: error: passing argument 1 of 'finish_wait' from incompatible pointer type
> arch/powerpc/platforms/ps3/device-init.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
>
>Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Applied, thanks.
Sebastian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-11 8:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-31 18:44 [PATCH 4.0-rt] powerpc: ps3/device-init.c - adapt to completions using swait vs wait Paul Gortmaker
2015-06-11 8:53 ` Sebastian Andrzej Siewior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).