All of lore.kernel.org
 help / color / mirror / Atom feed
From: Artem Bityutskiy <dedekind@infradead.org>
To: "Singh, Vimal" <vimalsingh@ti.com>
Cc: "linux-mtd@lists.infradead.org" <linux-mtd@lists.infradead.org>,
	Frans Meulenbroeks <fransmeulenbroeks@gmail.com>,
	Woodhouse <dwmw2@infradead.org>,
	David@mgw-mx06.nokia.com
Subject: RE: [PATCH] [MTD] [NAND] nand_ecc.c: adding support for 512 byte ecc
Date: Fri, 22 Aug 2008 09:07:03 +0300	[thread overview]
Message-ID: <1219385223.18027.105.camel@sauron> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E739403CD517C1B@dbde02.ent.ti.com>

On Fri, 2008-08-22 at 11:09 +0530, Singh, Vimal wrote:
> +       rp16 = 0;
> +       rp17 = 0; /* to make cmpiler happy */
Please, use

uint32_t uninitialized_var(rp17);

to avoid unnecessary initialization to 0 and avoid gcc warning as well.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)

  parent reply	other threads:[~2008-08-22  6:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <19F8576C6E063C45BE387C64729E739403CD517C16@dbde02.ent.ti.com>
2008-08-21 10:51 ` [PATCH] [MTD] [NAND] nand_ecc.c: adding support for 512 byte ecc Singh, Vimal
2008-08-21 10:55   ` Artem Bityutskiy
2008-08-21 18:39   ` Frans Meulenbroeks
2008-08-22  5:39     ` Singh, Vimal
2008-08-22  5:53       ` Artem Bityutskiy
2008-08-22  6:07       ` Artem Bityutskiy [this message]
2008-08-22  8:43         ` Frans Meulenbroeks
2008-08-22  9:06           ` David Woodhouse
2008-08-22  8:45         ` Singh, Vimal
2008-08-22  8:58           ` Frans Meulenbroeks
2008-08-22  9:27             ` Singh, Vimal
2008-08-23 16:18               ` frans

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=1219385223.18027.105.camel@sauron \
    --to=dedekind@infradead.org \
    --cc=David@mgw-mx06.nokia.com \
    --cc=dwmw2@infradead.org \
    --cc=fransmeulenbroeks@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=vimalsingh@ti.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.