lkml.org 
[lkml]   [2015]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V3] kasan: use IS_ALIGNED in memory_is_poisoned_8()
From
Date
On 09/15/2015 05:02 AM, Xishi Qiu wrote:
> Use IS_ALIGNED() to determine whether the shadow span two bytes. It
> generates less code and more readable. Also add some comments in shadow
> check functions.
>
> Please apply "kasan: fix last shadow judgement in memory_is_poisoned_16()"
> first.
>
> Signed-off-by: Xishi Qiu <qiuxishi@huawei.com>

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>


\
 
 \ /
  Last update: 2015-09-15 10:01    [W:0.135 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site