* [PATCH] Fixed uninitialized variable warning in drivers/md/dm-exception-store.c.
@ 2006-10-30 5:08 Andrew Paprocki
2006-10-30 11:39 ` Jiri Slaby
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Paprocki @ 2006-10-30 5:08 UTC (permalink / raw)
To: linux-kernel
Fixed uninitialized variable warning in drivers/md/dm-exception-store.c.
Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
---
drivers/md/dm-exception-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/md/dm-exception-store.c b/drivers/md/dm-exception-store.c
index 99cdffa..d50ffde 100644
--- a/drivers/md/dm-exception-store.c
+++ b/drivers/md/dm-exception-store.c
@@ -413,7 +413,7 @@ static void persistent_destroy(struct ex
static int persistent_read_metadata(struct exception_store *store)
{
- int r, new_snapshot;
+ int r, new_snapshot = 0;
struct pstore *ps = get_info(store);
/*
--
1.4.1.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Fixed uninitialized variable warning in drivers/md/dm-exception-store.c.
2006-10-30 5:08 [PATCH] Fixed uninitialized variable warning in drivers/md/dm-exception-store.c Andrew Paprocki
@ 2006-10-30 11:39 ` Jiri Slaby
0 siblings, 0 replies; 2+ messages in thread
From: Jiri Slaby @ 2006-10-30 11:39 UTC (permalink / raw)
To: Andrew Paprocki; +Cc: linux-kernel, Jeff Garzik
Andrew Paprocki wrote:
> Fixed uninitialized variable warning in drivers/md/dm-exception-store.c.
>
> Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
>
> ---
> drivers/md/dm-exception-store.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/md/dm-exception-store.c
> b/drivers/md/dm-exception-store.c
> index 99cdffa..d50ffde 100644
> --- a/drivers/md/dm-exception-store.c
> +++ b/drivers/md/dm-exception-store.c
> @@ -413,7 +413,7 @@ static void persistent_destroy(struct ex
>
> static int persistent_read_metadata(struct exception_store *store)
> {
> - int r, new_snapshot;
> + int r, new_snapshot = 0;
> struct pstore *ps = get_info(store);
>
> /*
Already in -mm.
regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-30 11:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-30 5:08 [PATCH] Fixed uninitialized variable warning in drivers/md/dm-exception-store.c Andrew Paprocki
2006-10-30 11:39 ` Jiri Slaby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox