From: Thiago Farina <tfransosi@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: Alexander Viro <viro@zeniv.linux.org.uk>,
Jens Axboe <jens.axboe@oracle.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Tejun Heo <tj@kernel.org>,
Alberto Bertogli <albertito@blitiri.com.ar>,
Jiri Kosina <jkosina@suse.cz>,
linux-fsdevel@vger.kernel.org
Subject: [PATCH] fs/bio.c: fix shadows sparse warning.
Date: Mon, 18 Jan 2010 20:13:21 -0500 [thread overview]
Message-ID: <051f23a2b18d46fe0dd732a26e9d4507a19cfca4.1263863246.git.tfransosi@gmail.com> (raw)
fs/bio.c:81:33: warning: symbol 'bslab' shadows an earlier one
fs/bio.c:74:25: originally declared here
Signed-off-by: Thiago Farina <tfransosi@gmail.com>
---
fs/bio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/bio.c b/fs/bio.c
index 76e6713..12429c9 100644
--- a/fs/bio.c
+++ b/fs/bio.c
@@ -78,7 +78,7 @@ static struct kmem_cache *bio_find_or_create_slab(unsigned int extra_size)
i = 0;
while (i < bio_slab_nr) {
- struct bio_slab *bslab = &bio_slabs[i];
+ bslab = &bio_slabs[i];
if (!bslab->slab && entry == -1)
entry = i;
--
1.6.6.201.g56119
next reply other threads:[~2010-01-19 1:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 1:13 Thiago Farina [this message]
2010-01-19 17:40 ` [PATCH] fs/bio.c: fix shadows sparse warning Jens Axboe
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=051f23a2b18d46fe0dd732a26e9d4507a19cfca4.1263863246.git.tfransosi@gmail.com \
--to=tfransosi@gmail.com \
--cc=albertito@blitiri.com.ar \
--cc=jens.axboe@oracle.com \
--cc=jkosina@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=tj@kernel.org \
--cc=viro@zeniv.linux.org.uk \
/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;
as well as URLs for NNTP newsgroup(s).