]> git.baikalelectronics.ru Git - kernel.git/commit
tools include: Adopt __same_type() and __must_be_array() from the kernel
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 17 Apr 2017 14:25:00 +0000 (11:25 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 16:01:42 +0000 (13:01 -0300)
commit8aaab28765cc2c48889e8ee27997c9b32ff378a0
tree4bd16f3906dd5623bc73ae75dc006b4cf7dea48d
parentc80c9c094df79ed36b44d06be76f8c4bca520f81
tools include: Adopt __same_type() and __must_be_array() from the kernel

Will be used to adopt the more stringent version of ARRAY_SIZE(), the
one in the kernel sources.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-d85dpvay1hoqscpezlntyd8x@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/compiler-gcc.h
tools/include/linux/compiler.h