Re: [PATCH] kernel/memremap.c: use ALIGN/ALIGN_DOWN to calculate align_start/end
From: Wei Yang
Date: Fri Jun 14 2019 - 04:14:02 EST
On Thu, Jun 13, 2019 at 11:06:13PM -0700, Dan Williams wrote:
>On Thu, Jun 13, 2019 at 11:02 PM Wei Yang <richardw.yang@xxxxxxxxxxxxxxx> wrote:
>>
>> The purpose of align_start/end is to expand to SECTION boundary. Use
>> ALIGN/ALIGN_DOWN directly is more self-explain and clean.
>
>I'm actively trying to kill this code [1] so I don't see the need for
>this patch.
>
>[1]: https://lore.kernel.org/lkml/155977193326.2443951.14201009973429527491.stgit@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/
Ah, thanks :-)
--
Wei Yang
Help you, Help me