VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Bob Copeland <me@bobcopeland.com> 2015-05-28 15:44:35 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2015-05-28 18:25:19 -0700 commit: c0345ee57d461343586b5e1e2f9c3c3766d07fe6 parent: 3a281f946640542a7a7372f436e101ee1fbc4c97
Commit Summary:
omfs: fix sign confusion for bitmap loop counter
Diffstat:
1 file changed, 2 insertions, 1 deletion
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c
index 6ce542c11f98..3d935c81789a 100644
--- a/fs/omfs/inode.c
+++ b/fs/omfs/inode.c
@@ -306,7 +306,8 @@ static const struct super_operations omfs_sops = {
  */
 static int omfs_get_imap(struct super_block *sb)
 {
-	unsigned int bitmap_size, count, array_size;
+	unsigned int bitmap_size, array_size;
+	int count;
 	struct omfs_sb_info *sbi = OMFS_SB(sb);
 	struct buffer_head *bh;
 	unsigned long **ptr;