lkml.org 
[lkml]   [2005]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.14-rc4-rt7
Hello,

Getting up to speed on the latest -rt changes again. Just happened
to notice this warning with -rt8 and -rt9:

kernel/ktimers.c: In function `check_ktimer_signal':
kernel/ktimers.c:1209: warning: passing argument 1 of `unlock_ktimer_base' from incompatible pointer type

And the obvious fix:

--- linux/kernel/ktimers.c.orig 2005-10-18 14:10:48.000000000 -0700
+++ linux/kernel/ktimers.c 2005-10-18 14:24:43.000000000 -0700
@@ -1206,7 +1206,7 @@
struct ktimer_base *base = lock_ktimer_base(timer, &flags);
ktime_t now = base->get_time();

- unlock_ktimer_base(base, &flags);
+ unlock_ktimer_base(timer, &flags);

printk("\n");
printk("expires: %u/%u\n",

Cheers
--ww
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-10-18 23:43    [W:0.186 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site