Skip to contentSkip to conversation

Add missing return value of kauditd_thread

PATCH In review Takashi Iwai 2 participants 2 messages Feb 14, 2006 – Feb 15, 2006 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing return value of kauditd_thread

Add the missing return value of kauditd_thread().

---

kernel/audit.c +1 -0
index 0a813d2..a08fc96 100644
@@ -300,6 +300,7 @@ static int kauditd_thread(void *dummy)
 			remove_wait_queue(&kauditd_wait, &wait);
 		}
 	}
+	return 0;
 }
 
 void audit_send_reply(int pid, int seq, int type, int done, int multi,
#1 lore raw
Quoted 12 lines · Takashi Iwai

Add the missing return value of kauditd_thread().

---

kernel/audit.c +0 -0
index 0a813d2..a08fc96 100644

kernel/audit.c static int kauditd_thread(void *dummy) · line 306

Quoted 7 lines
kernel/audit.c +1 -0
@@ -300,6 +300,7 @@ static int kauditd_thread(void *dummy)
 			remove_wait_queue(&kauditd_wait, &wait);
 		}
 	}
+	return 0;
 }
 
 void audit_send_reply(int pid, int seq, int type, int done, int multi,

Patch is already present in the seemingly-moribund audit git repo.