Skip to contentSkip to conversation

sched/wait: Fix build breakage

PATCH New Thierry Reding 2 participants 2 messages Oct 23, 2013 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/wait: Fix build breakage

The wait_event_interruptible_lock_irq() macro is missing a semi-colon which causes a build failure in the i915 DRM driver.

---
 include/linux/wait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/wait.h +1 -1
index 0395985..a6a1ed9 100644
@@ -765,7 +765,7 @@ do {									\
 	int __ret = 0;							\
 	if (!(condition))						\
 		__ret = __wait_event_interruptible_lock_irq(wq,		\
-						condition, lock,)	\
+						condition, lock,);	\
 	__ret;								\
 })
 
Signature · 1 line
1.8.4
#1 lore raw
sched/wait: Fix build breakage
Commit-ID:  92ec11809565cf6429c75204e99e0f583b5c9d7c
Gitweb:     http://git.kernel.org/tip/92ec11809565cf6429c75204e99e0f583b5c9d7c
Author:     Thierry Reding <[email protected]>
AuthorDate: Wed, 23 Oct 2013 13:40:55 +0200
Committer:  Ingo Molnar <[email protected]>
CommitDate: Wed, 23 Oct 2013 14:44:10 +0200

sched/wait: Fix build breakage

The wait_event_interruptible_lock_irq() macro is missing a semi-colon which causes a build failure in the i915 DRM driver.

---
 include/linux/wait.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/wait.h +1 -1
index ec099b0..3b23afa 100644
@@ -732,7 +732,7 @@ do {									\
 	int __ret = 0;							\
 	if (!(condition))						\
 		__ret = __wait_event_interruptible_lock_irq(wq,		\
-						condition, lock,)	\
+						condition, lock,);	\
 	__ret;								\
 })