lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Tue, 03 Feb 2009 23:18:43 +0000
From:	Adrian McMenamin <adrian@...golddream.dyndns.info>
To:	LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] cramfs: explicitly state type of unsigned int

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@...en.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;

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ