Re: [PATCH 14/32] kmsan: Use ALIGN_DOWN() in kmsan_get_metadata()
From: Alexander Potapenko <glider@google.com>
Date: 2023-11-16 09:55:20
Also in:
linux-mm, linux-s390, lkml
From: Alexander Potapenko <glider@google.com>
Date: 2023-11-16 09:55:20
Also in:
linux-mm, linux-s390, lkml
On Wed, Nov 15, 2023 at 9:34 PM Ilya Leoshkevich [off-list ref] wrote:
Improve the readability by replacing the custom aligning logic with ALIGN_DOWN(). Unlike other places where a similar sequence is used, there is no size parameter that needs to be adjusted, so the standard macro fits.
Good catch, thank you!
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Alexander Potapenko <glider@google.com>