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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2018 08:28:56 +0000 (10:28 +0200)
commitd45e1f06a18644d18c0280c0a1091d22f7fa8b83
treeb7d8911819b51766a0a113345397952a1358ad7d
parent86ff378c684e906d067d18c656e74278c32b7896
tools include: Adopt __same_type() and __must_be_array() from the kernel

commit f6441aff8946f7fd6ab730d7eb9eba18a9ebeba4 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/include/linux/compiler-gcc.h
tools/include/linux/compiler.h