svn commit: r331934 - head/sys/compat/linuxkpi/common/src

Mark Johnston markj at FreeBSD.org
Tue Apr 3 18:41:28 UTC 2018


Author: markj
Date: Tue Apr  3 18:41:27 2018
New Revision: 331934
URL: https://svnweb.freebsd.org/changeset/base/331934

Log:
  Wrap long lines.
  
  MFC after:	3 days

Modified:
  head/sys/compat/linuxkpi/common/src/linux_schedule.c

Modified: head/sys/compat/linuxkpi/common/src/linux_schedule.c
==============================================================================
--- head/sys/compat/linuxkpi/common/src/linux_schedule.c	Tue Apr  3 18:39:49 2018	(r331933)
+++ head/sys/compat/linuxkpi/common/src/linux_schedule.c	Tue Apr  3 18:41:27 2018	(r331934)
@@ -267,7 +267,8 @@ linux_wait_event_common(wait_queue_head_t *wqh, wait_q
 	PHOLD(task->task_thread->td_proc);
 	sleepq_lock(task);
 	if (atomic_read(&task->state) != TASK_WAKING) {
-		ret = linux_add_to_sleepqueue(task, task, "wevent", timeout, state);
+		ret = linux_add_to_sleepqueue(task, task, "wevent", timeout,
+		    state);
 	} else {
 		sleepq_release(task);
 		ret = 0;
@@ -300,7 +301,8 @@ linux_schedule_timeout(int timeout)
 	sleepq_lock(task);
 	state = atomic_read(&task->state);
 	if (state != TASK_WAKING) {
-		ret = linux_add_to_sleepqueue(task, task, "sched", timeout, state);
+		ret = linux_add_to_sleepqueue(task, task, "sched", timeout,
+		    state);
 	} else {
 		sleepq_release(task);
 		ret = 0;
@@ -368,7 +370,8 @@ linux_wait_on_bit_timeout(unsigned long *word, int bit
 			break;
 		}
 		set_task_state(task, state);
-		ret = linux_add_to_sleepqueue(wchan, task, "wbit", timeout, state);
+		ret = linux_add_to_sleepqueue(wchan, task, "wbit", timeout,
+		    state);
 		if (ret != 0)
 			break;
 	}


More information about the svn-src-all mailing list