From: Jiri Slaby <jirislaby@gmail.com>
To: Andrew Paprocki <andrew@ishiboo.com>
Cc: linux-kernel@vger.kernel.org, Jeff Garzik <jeff@garzik.org>
Subject: Re: [PATCH] Fixed uninitialized variable warning in drivers/md/dm-exception-store.c.
Date: Mon, 30 Oct 2006 12:39:29 +0100 [thread overview]
Message-ID: <4545E471.7080906@gmail.com> (raw)
In-Reply-To: <76366b180610292108o62b0b480v91356fb957fbebcc@mail.gmail.com>
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
prev parent reply other threads:[~2006-10-30 11:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4545E471.7080906@gmail.com \
--to=jirislaby@gmail.com \
--cc=andrew@ishiboo.com \
--cc=jeff@garzik.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox