public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian McMenamin <adrian@newgolddream.dyndns.info>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] cramfs: explicitly state type of unsigned int
Date: Tue, 03 Feb 2009 23:18:43 +0000	[thread overview]
Message-ID: <1233703123.20790.16.camel@localhost.localdomain> (raw)

I was using cramfs as a model for a new filesystem and came across this,
rather confusing issue...

These variables are currently declared with only a type modifier, not a
type.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
---


diff --git a/fs/cramfs/inode.c b/fs/cramfs/inode.c
index a07338d..d9210bc 100644
--- a/fs/cramfs/inode.c
+++ b/fs/cramfs/inode.c
@@ -136,7 +136,7 @@ static void *cramfs_read(struct super_block *sb, unsigned int offset, unsigned i
 {
 	struct address_space *mapping = sb->s_bdev->bd_inode->i_mapping;
 	struct page *pages[BLKS_PER_BUF];
-	unsigned i, blocknr, buffer;
+	unsigned int i, blocknr, buffer;
 	unsigned long devsize;
 	char *data;


                 reply	other threads:[~2009-02-03 23:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1233703123.20790.16.camel@localhost.localdomain \
    --to=adrian@newgolddream.dyndns.info \
    --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