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

Sergey Senozhatsky
2023-04-24T02:36:36Z

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@kernel.org>

Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org>