Re: [PATCH] include/linux/kasan.h: Notice about 0 for kasan_[dis/en]able_current()

From: Chen Gang
Date: Mon May 02 2016 - 07:16:13 EST


On 5/2/16 18:49, Alexander Potapenko wrote:
> On Mon, May 2, 2016 at 7:35 AM, <chengang@xxxxxxxxxxxxxxxx> wrote:
>>
>> According to their comments and the kasan_depth's initialization, if
>> kasan_depth is zero, it means disable. So kasan_depth need consider
>> about the 0 overflow.
>>
>> Also remove useless comments for dummy kasan_slab_free().
>>
>> Signed-off-by: Chen Gang <gang.chen.5i5j@xxxxxxxxx>
>
> Acked-by: Alexander Potapenko <glider@xxxxxxxxxx>
>

OK, thanks.

Another patch thread is also related with this patch thread, please help
check.

And sorry, originally, I did not let the 2 patches in one patches set.

Thanks.
--
Chen Gang (éå)

Managing Natural Environments is the Duty of Human Beings.