On (22/09/09 11:37), Alexey Romanov wrote: > Since commit ffedd09fa9b0 > ("zsmalloc: Stop using slab fields in struct page") we are using > page->page_type (unsigned int) field instead of page->units (int) > as first object offset in a subpage of zspage. So get_first_obj_offset() > and set_first_obj_offset() functions should work with unsigned int type. > > Fixes: ffedd09fa9b0 ("zsmalloc: Stop using slab fields in struct page") > Signed-off-by: Alexey Romanov <avromanov@xxxxxxxxxxxxxx> Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>