diff options
| author | Sergey SENOZHATSKY <[email protected]> | 2015-11-06 16:29:21 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-11-06 17:50:42 -0800 |
| commit | 6f3526d6db7cbe8b53e42d6bf0cad2072afcf3fe (patch) | |
| tree | cb5743f33e0db27030a376cbe4f7d918b53b9e0a /include/linux/zsmalloc.h | |
| parent | 69e18f4dbedfbf208452e9da9979c92da30d2442 (diff) | |
mm: zsmalloc: constify struct zs_pool name
Constify `struct zs_pool' ->name.
[[email protected]: constify zpool_create_pool()'s `type' arg also]
Signed-off-by: Sergey Senozhatsky <[email protected]>
Acked-by: Dan Streetman <[email protected]>
Cc: Minchan Kim <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/zsmalloc.h')
| -rw-r--r-- | include/linux/zsmalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/zsmalloc.h b/include/linux/zsmalloc.h index 6398dfae53f1..34eb16098a33 100644 --- a/include/linux/zsmalloc.h +++ b/include/linux/zsmalloc.h @@ -41,7 +41,7 @@ struct zs_pool_stats { struct zs_pool; -struct zs_pool *zs_create_pool(char *name, gfp_t flags); +struct zs_pool *zs_create_pool(const char *name, gfp_t flags); void zs_destroy_pool(struct zs_pool *pool); unsigned long zs_malloc(struct zs_pool *pool, size_t size); |
