aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorXishi Qiu <[email protected]>2015-11-05 18:51:21 -0800
committerLinus Torvalds <[email protected]>2015-11-05 19:34:48 -0800
commit10f702627e139e21465f4c9d44f63527bbca163c (patch)
tree706cd924235c129fcf30bf766c038025fd227525 /net
parente0d57714394f5e2ce4e2f9bbebf48e3c7a7fd3be (diff)
kasan: use IS_ALIGNED in memory_is_poisoned_8()
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. Signed-off-by: Xishi Qiu <[email protected]> Acked-by: Andrey Ryabinin <[email protected]> Cc: Andrey Konovalov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions