]> git.baikalelectronics.ru Git - kernel.git/commit
compiler.h, kasan: Avoid duplicating __read_once_size_nocheck()
authorAndrey Ryabinin <aryabinin@virtuozzo.com>
Thu, 1 Feb 2018 18:00:48 +0000 (21:00 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Feb 2018 20:20:21 +0000 (12:20 -0800)
commitbd77227ece48b7ebd1744160e247c806b23552c4
tree9ce7392f17b943c51c08ed1ff25eb65152bdd580
parentcc0cba780e487bce646cf4a7d2ec17f133393fef
compiler.h, kasan: Avoid duplicating __read_once_size_nocheck()

Instead of having two identical __read_once_size_nocheck() functions
with different attributes, consolidate all the difference in new macro
__no_kasan_or_inline and use it. No functional changes.

Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/compiler.h