Re: [PATCH 03/11] arm: Kconfig: enable KASan

From: Liuwenliang (Lamb)
Date: Sun Oct 22 2017 - 08:32:42 EST


On 10/22/2017 01:22 AM, Russell King - ARM Linux wrote:
>On Wed, Oct 11, 2017 at 12:15:44PM -0700, Florian Fainelli wrote:
>> On 10/11/2017 01:22 AM, Abbott Liu wrote:
>> > From: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
>> >
>> > This patch enable kernel address sanitizer for arm.
>> >
>> > Cc: Andrey Ryabinin <a.ryabinin@xxxxxxxxxxx>
>> > Signed-off-by: Abbott Liu <liuwenliang@xxxxxxxxxx>
>>
>> This needs to be the last patch in the series, otherwise you allow
>> people between patch 3 and 11 to have varying degrees of experience with
>> this patch series depending on their system type (LPAE or not, etc.)
>
>As the series stands, if patches 1-3 are applied, and KASAN is enabled,
>there are various constants that end up being undefined, and the kernel
>build will fail. That is, of course, not acceptable.
>
>KASAN must not be available until support for it is functionally
>complete.

Thanks for Florian Fainelli and Russell King's review.
I'm going to change it in the new version.