summaryrefslogtreecommitdiff
path: root/libdm/mm
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-11-06 20:36:53 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2014-11-10 22:05:49 +0100
commite5d3f812854b23ef5e7e51f96a3f89fa02c093fa (patch)
tree61a47badb3f5a5cd70ddf7f381998ea892ce755d /libdm/mm
parent1e97d2dd286a184fc1d26a9abb60fea9e2b7d44d (diff)
downloadlvm2-e5d3f812854b23ef5e7e51f96a3f89fa02c093fa.tar.gz
cleanup: indents comments backtraces
Diffstat (limited to 'libdm/mm')
-rw-r--r--libdm/mm/pool-debug.c2
-rw-r--r--libdm/mm/pool-fast.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libdm/mm/pool-debug.c b/libdm/mm/pool-debug.c
index afaa39e6b..a2767cdfd 100644
--- a/libdm/mm/pool-debug.c
+++ b/libdm/mm/pool-debug.c
@@ -170,7 +170,7 @@ void *dm_pool_alloc_aligned(struct dm_pool *p, size_t s, unsigned alignment)
struct block *b = _new_block(s, alignment);
if (!b)
- return NULL;
+ return_NULL;
_append_block(p, b);
diff --git a/libdm/mm/pool-fast.c b/libdm/mm/pool-fast.c
index edb31a07c..803842c19 100644
--- a/libdm/mm/pool-fast.c
+++ b/libdm/mm/pool-fast.c
@@ -107,7 +107,7 @@ void *dm_pool_alloc_aligned(struct dm_pool *p, size_t s, unsigned alignment)
needed : p->chunk_size);
if (!c)
- return NULL;
+ return_NULL;
_align_chunk(c, alignment);
}