]> git.baikalelectronics.ru Git - kernel.git/commit
gcov: clang: fix clang-11+ build
authorJohannes Berg <johannes.berg@intel.com>
Fri, 16 Apr 2021 22:46:23 +0000 (15:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 16 Apr 2021 23:10:37 +0000 (16:10 -0700)
commitb7747c243b288fa07b7f602b01aa3195cd171c69
treebe53511525bf368b6ba5532d71ef349d995a6115
parent73825e9038c264c77eaf3ce66007019978cd03ad
gcov: clang: fix clang-11+ build

With clang-11+, the code is broken due to my kvmalloc() conversion
(which predated the clang-11 support code) leaving one vmalloc() in
place.  Fix that.

Link: https://lkml.kernel.org/r/20210412214210.6e1ecca9cdc5.I24459763acf0591d5e6b31c7e3a59890d802f79c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/gcov/clang.c