Re: [PATCH]
- From: Daniel Walker <dwalker@xxxxxxxxxx>
- Date: Fri, 24 Mar 2006 15:22:32 -0800
On Fri, 2006-03-24 at 15:19 -0800, john stultz wrote:
On Fri, 2006-03-24 at 15:07 -0800, Daniel Walker wrote:
Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>
Index: linux-2.6.16/kernel/time/timeofday.c
===================================================================
--- linux-2.6.16.orig/kernel/time/timeofday.c
+++ linux-2.6.16/kernel/time/timeofday.c
@@ -644,7 +644,7 @@ static void timeofday_periodic_hook(unsi
int something_changed = 0;
int clocksource_changed = 0;
- struct clocksource old_clock;
+ struct clocksource old_clock = { .mult = 1, .shift = 0 };
static s64 second_check;
write_seqlock_irqsave(&system_time_lock, flags);
I assume this is a fix for the GCC "may be used uninitialized" warning?
Yeah, Sorry ,I accidentally pressed enter before I described it ..
Daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH]
- From: Daniel Walker
- Re: [PATCH]
- From: john stultz
- [PATCH]
- Prev by Date: Re: [PATCH]
- Next by Date: Re: [openib-general] Re: [PATCH 0 of 18] ipath driver - for inclusion in 2.6.17
- Previous by thread: Re: [PATCH]
- Next by thread: [PATCH] PCI: Add pci_assign_resource_fixed -- allow fixed address assignments
- Index(es):
Relevant Pages
|