[PATCH v2 2/4] kasan: use MAX_PTRS_PER_* for early shadow
Christophe Leroy
christophe.leroy at c-s.fr
Wed Dec 11 01:39:34 AEDT 2019
Le 10/12/2019 à 10:36, Balbir Singh a écrit :
>
>
> On 10/12/19 3:47 pm, Daniel Axtens wrote:
>> This helps with powerpc support, and should have no effect on
>> anything else.
>>
>> Suggested-by: Christophe Leroy <christophe.leroy at c-s.fr>
>> Signed-off-by: Daniel Axtens <dja at axtens.net>
>
> If you follow the recommendations by Christophe and I, you don't need this patch
I guess you mean Patch 1 (the one adding the const to all arches) is not
needed. Of course this one (Patch 2) is needed as it is the one that
changes kasan.h to use const table size instead of impossible variable
table size.
And that would also fix the problem reported by the kbuild test robot.
Christophe
More information about the Linuxppc-dev
mailing list