summaryrefslogtreecommitdiffstats
path: root/mm/zbud.c
diff options
context:
space:
mode:
authorSergey SENOZHATSKY <sergey.senozhatsky@gmail.com>2015-11-06 16:29:21 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-11-06 17:50:42 -0800
commit6f3526d6db7cbe8b53e42d6bf0cad2072afcf3fe (patch)
treecb5743f33e0db27030a376cbe4f7d918b53b9e0a /mm/zbud.c
parent69e18f4dbedfbf208452e9da9979c92da30d2442 (diff)
downloadop-kernel-dev-6f3526d6db7cbe8b53e42d6bf0cad2072afcf3fe.zip
op-kernel-dev-6f3526d6db7cbe8b53e42d6bf0cad2072afcf3fe.tar.gz
mm: zsmalloc: constify struct zs_pool name
Constify `struct zs_pool' ->name. [akpm@inux-foundation.org: constify zpool_create_pool()'s `type' arg also] Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Dan Streetman <ddstreet@ieee.org> Cc: Minchan Kim <minchan@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/zbud.c')
-rw-r--r--mm/zbud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/zbud.c b/mm/zbud.c
index fa48bcdf..d8a181f 100644
--- a/mm/zbud.c
+++ b/mm/zbud.c
@@ -137,7 +137,7 @@ static const struct zbud_ops zbud_zpool_ops = {
.evict = zbud_zpool_evict
};
-static void *zbud_zpool_create(char *name, gfp_t gfp,
+static void *zbud_zpool_create(const char *name, gfp_t gfp,
const struct zpool_ops *zpool_ops,
struct zpool *zpool)
{
OpenPOWER on IntegriCloud