Skip to contentSkip to conversation

Recent changes (master)

PATCH Jens Axboe 1 participant 1 message Jul 1, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

The following changes since commit 94815a5c8366a9290167e8539f29994c2d43d15c:

configure: fixup clang stupidity (2015-06-29 20:46:31 -0600)

are available in the git repository at:

git://git.kernel.dk/fio.git master

for you to fetch changes up to aa1af5fd4a7b801cc506cb511eb09f64c89648b6:

smalloc: fix unused 'int_mask' warning if redzoning is turned off (2015-06-30 15:31:50 -0600)

----------------------------------------------------------------
Jens Axboe (1):
smalloc: fix unused 'int_mask' warning if redzoning is turned off

 smalloc.c | 2 ++
 1 file changed, 2 insertions(+)

---

Diff of recent changes:

smalloc.c +2 -0
index 447d5c5..6bf66fc 100644
@@ -32,7 +32,9 @@
 #define SMALLOC_POST_RED	0x5aa55aa5U
 
 unsigned int smalloc_pool_size = INITIAL_SIZE;
+#ifdef SMALLOC_REDZONE
 static const int int_mask = sizeof(int) - 1;
+#endif
 
 struct pool {
 	struct fio_mutex *lock;			/* protects this pool */