Re: [PATCH -next 1/2] PM: hibernate: fix spelling mistake for annotation

From: Bagas Sanjaya
Date: Tue Nov 01 2022 - 08:46:02 EST


On 11/1/22 09:28, TGSP wrote:
> From: xiongxin <xiongxin@xxxxxxxxxx>
>
> The actual calculation formula in the code below is:
>
> max_size = (count - (size + PAGES_FOR_IO)) / 2
> - 2 * DIV_ROUND_UP(reserved_size, PAGE_SIZE);
>
> But function comments are written differently, the comment is wrong?
>
> By the way, what exactly do the "/ 2" and "2 *" mean?
>

Shouldn't the description above better below triple-dash (just
before diffstat)?

--
An old man doll... just what I always wanted! - Clara