Re: [PATCH 5/5] zram: use generic PAGE_SECTORS and PAGE_SECTORS_SHIFT

From: Sergey Senozhatsky
Date: Sun Apr 23 2023 - 22:36:38 EST


On (23/04/21 12:58), Luis Chamberlain wrote:
>
> Instead of re-defining the already existing constants use the provided ones:
>
> So replace:
>
> o SECTORS_PER_PAGE_SHIFT with PAGE_SECTORS_SHIFT
> o SECTORS_PER_PAGE with PAGE_SECTORS
>
> This produces no functional changes.
>
> Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>

Reviewed-by: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>