printk : kernel/timer.c
PATCH 1/1 printk : kernel/timer.c
Description:printk() calls should include appropriate KERN_* constant.
The patch
kernel/timer.c +3 -3
@@ -96,9 +96,9 @@ static void check_timer_failed(struct tistatic int whine_count;if (whine_count <16 ) { whine_count++; -printk ("Uninitialised timer!\n" ); -printk ("This is just a warning. Your computer is OK\n" ); -printk ("function=0x%p, data=0x%lx\n" , +printk (KERN_WARNING "Uninitialised timer!\n" ); +printk (KERN_WARNING "This is just a warning. Your computer is OK\n" ); +printk (KERN_WARNING "function=0x%p, data=0x%lx\n" , timer->function, timer->data);dump_stack (); }
PS:: I've attached the patch file if this fails...
Thanks & Regards
Milind A Choudhary
http://www.patni.com
World-Wide Partnerships. World-Class Solutions.
_____________________________________________________________________
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at [email protected] and delete this mail.
_____________________________________________________________________
kernel/timer.c +3 -3
@@ -96,9 +96,9 @@ static void check_timer_failed(struct tistatic int whine_count;if (whine_count <16 ) { whine_count++; -printk ("Uninitialised timer!\n" ); -printk ("This is just a warning. Your computer is OK\n" ); -printk ("function=0x%p, data=0x%lx\n" , +printk (KERN_WARNING "Uninitialised timer!\n" ); +printk (KERN_WARNING "This is just a warning. Your computer is OK\n" ); +printk (KERN_WARNING "function=0x%p, data=0x%lx\n" , timer->function, timer->data);dump_stack (); }
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors