Skip to contentSkip to conversation

bcache-use-%zi-to-format-size_t.patch removed from -mm tree

merged [email protected] 1 participant 1 message Feb 11, 2014 bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

Subject: [merged] bcache-use-%zi-to-format-size_t.patch removed from -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Tue, 11 Feb 2014 11:23:28 -0800

The patch titled
Subject: drivers/md/bcache/extents.c: use %zi to format size_t
has been removed from the -mm tree. Its filename was
bcache-use-%zi-to-format-size_t.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Geert Uytterhoeven <[email protected]>
Subject: drivers/md/bcache/extents.c: use %zi to format size_t

drivers/md/bcache/extents.c: In function `btree_ptr_bad_expensive':
drivers/md/bcache/extents.c:196: warning: format %li' expects type long int', but argument 4 has type `size_t'

---

 drivers/md/bcache/extents.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/md/bcache/extents.c renamed from drivers/md/bcache/extents.c~bcache-use-%zi-to-format-size_t +1 -1
diff -puN drivers/md/bcache/extents.c~bcache-use-%zi-to-format-size_t drivers/md/bcache/extents.c
@@ -194,7 +194,7 @@ err:
 	mutex_unlock(&b->c->bucket_lock);
 	bch_extent_to_text(buf, sizeof(buf), k);
 	btree_bug(b,
-"inconsistent btree pointer %s: bucket %li pin %i prio %i gen %i last_gc %i mark %llu gc_gen %i",
+"inconsistent btree pointer %s: bucket %zi pin %i prio %i gen %i last_gc %i mark %llu gc_gen %i",
 		  buf, PTR_BUCKET_NR(b->c, k, i), atomic_read(&g->pin),
 		  g->prio, g->gen, g->last_gc, GC_MARK(g), g->gc_gen);
 	return true;

_

Patches currently in -mm which might be from [email protected] are

origin.patch
linux-next.patch