Re: [PATCH] kasan: fix coccinelle warnings in kasan_p*_table

2019-03-07 Thread Souptick Joarder
On Tue, Mar 5, 2019 at 9:43 PM Andrey Ryabinin wrote: > > > > On 3/4/19 8:04 PM, Andrey Konovalov wrote: > > kasan_p4d_table, kasan_pmd_table and kasan_pud_table are declared as > > returning bool, but return 0 instead of false, which produces a coccinelle > > warning. Fix it. > > > > Fixes:

Re: [PATCH] kasan: fix coccinelle warnings in kasan_p*_table

2019-03-05 Thread Andrey Ryabinin
On 3/4/19 8:04 PM, Andrey Konovalov wrote: > kasan_p4d_table, kasan_pmd_table and kasan_pud_table are declared as > returning bool, but return 0 instead of false, which produces a coccinelle > warning. Fix it. > > Fixes: 0207df4fa1a8 ("kernel/memremap, kasan: make ZONE_DEVICE with work with >

[PATCH] kasan: fix coccinelle warnings in kasan_p*_table

2019-03-04 Thread Andrey Konovalov
kasan_p4d_table, kasan_pmd_table and kasan_pud_table are declared as returning bool, but return 0 instead of false, which produces a coccinelle warning. Fix it. Fixes: 0207df4fa1a8 ("kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN") Reported-by: kbuild test robot Signed-off-by: