/me produced a nop here.

Jan
---
 kernel/ipipe/tracer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.23.1-xeno/kernel/ipipe/tracer.c
===================================================================
--- linux-2.6.23.1-xeno.orig/kernel/ipipe/tracer.c
+++ linux-2.6.23.1-xeno/kernel/ipipe/tracer.c
@@ -1229,7 +1229,7 @@ static int __ipipe_wr_trigger(struct fil
 
 	if (count > sizeof(buf) - 1)
 		count = sizeof(buf) - 1;
-	if (copy_from_user(buf, buffer, count) < 0)
+	if (copy_from_user(buf, buffer, count))
 		return -EFAULT;
 	buf[count] = 0;
 	if (buf[count-1] == '\n')

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main

Reply via email to