mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Pekka Enberg" <penberg@cs.helsinki.fi>
To: "Petri T. Koistinen" <petri.koistinen@iki.fi>
Cc: "Andrew Morton" <akpm@osdl.org>,
	trivial@kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fs/isofs/namei.c: fix warnings of uninitialized variables
Date: Tue, 2 May 2006 14:19:32 +0300	[thread overview]
Message-ID: <84144f020605020419o539c377do7a01314980a44d67@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0605012255290.15813@joo>

On 5/1/06, Petri T. Koistinen <petri.koistinen@iki.fi> wrote:
> From: Petri T. Koistinen <petri.koistinen@iki.fi>
>
> Remove warnings by initializing uninitialized variables.
>
> Signed-off-by: Petri T. Koistinen <petri.koistinen@iki.fi>
> ---
>  fs/isofs/namei.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> ---
> diff --git a/fs/isofs/namei.c b/fs/isofs/namei.c
> index e7ba0c3..e0d6531 100644
> --- a/fs/isofs/namei.c
> +++ b/fs/isofs/namei.c
> @@ -159,7 +159,7 @@ isofs_find_entry(struct inode *dir, stru
>  struct dentry *isofs_lookup(struct inode * dir, struct dentry * dentry, struct nameidata *nd)
>  {
>         int found;
> -       unsigned long block, offset;
> +       unsigned long block = 0, offset = 0;

NAK. Both are initialized by isofs_find_entry() before being used.

                                                Pekka

      reply	other threads:[~2006-05-02 11:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 20:20 Petri T. Koistinen
2006-05-02 11:19 ` Pekka Enberg [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=84144f020605020419o539c377do7a01314980a44d67@mail.gmail.com \
    --to=penberg@cs.helsinki.fi \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=petri.koistinen@iki.fi \
    --cc=trivial@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

all inboxes | Powered by JetHome®