Messages in this thread | | | Subject | Re: [PATCH V3] kasan: use IS_ALIGNED in memory_is_poisoned_8() | From | Andrey Ryabinin <> | Date | Tue, 15 Sep 2015 10:32:06 +0300 |
| |
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>
| |