Re: [PATCH] mm/zsmalloc: make several functions and a struct static

2018-06-24 Thread Sergey Senozhatsky
On (06/24/18 22:33), Colin King wrote: > The functions zs_page_isolate, zs_page_migrate, zs_page_putback, > lock_zspage, trylock_zspage and structure zsmalloc_aops are local to > source and do not need to be in global scope, so make them static. > > Cleans up sparse warnings: > symbol 'zs_page_iso

[PATCH] mm/zsmalloc: make several functions and a struct static

2018-06-24 Thread Colin King
From: Colin Ian King The functions zs_page_isolate, zs_page_migrate, zs_page_putback, lock_zspage, trylock_zspage and structure zsmalloc_aops are local to source and do not need to be in global scope, so make them static. Cleans up sparse warnings: symbol 'zs_page_isolate' was not declared. Shou