All the zsmalloc functions that operate on a zsmalloc object (encoded location values) are named "zs_obj_xxx", except for zs_object_copy. Rename zs_object_copy to zs_obj_copy to conform to the pattern. No functional changes intended. Signed-off-by: Joshua Hahn --- mm/zsmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index d5d1c27b3852..0ca2e94af5ad 100644 --- a/mm/zsmalloc.c +++ b/mm/zsmalloc.c @@ -1416,7 +1416,7 @@ void zs_free(struct zs_pool *pool, unsigned long handle) } EXPORT_SYMBOL_GPL(zs_free); -static void zs_object_copy(struct size_class *class, unsigned long dst, +static void zs_obj_copy(struct size_class *class, unsigned long dst, unsigned long src) { struct zpdesc *s_zpdesc, *d_zpdesc; @@ -1537,7 +1537,7 @@ static void migrate_zspage(struct zs_pool *pool, struct zspage *src_zspage, used_obj = handle_to_obj(handle); free_obj = obj_malloc(pool, dst_zspage, handle); - zs_object_copy(class, free_obj, used_obj); + zs_obj_copy(class, free_obj, used_obj); obj_idx++; obj_free(class->size, used_obj); -- 2.47.3