diff options
author | Mike Rapoport (IBM) <rppt@kernel.org> | 2024-05-05 19:06:13 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2024-05-14 00:31:43 -0700 |
commit | 00be875879fa676a18415e32f98194db05ee93dc (patch) | |
tree | fdfd3d491c4e8b639dfedcae76c8d45c56a346af /arch/mips | |
parent | 086437d94aa3591b459e64bffed657b88dcc46a7 (diff) | |
download | linux-stable-00be875879fa676a18415e32f98194db05ee93dc.tar.gz linux-stable-00be875879fa676a18415e32f98194db05ee93dc.tar.bz2 linux-stable-00be875879fa676a18415e32f98194db05ee93dc.zip |
arm64: module: remove unneeded call to kasan_alloc_module_shadow()
Since commit f6f37d9320a1 ("arm64: select KASAN_VMALLOC for SW/HW_TAGS
modes") KASAN_VMALLOC is always enabled when KASAN is on. This means
that allocations in module_alloc() will be tracked by KASAN protection
for vmalloc() and that kasan_alloc_module_shadow() will be always an
empty inline and there is no point in calling it.
Drop meaningless call to kasan_alloc_module_shadow() from
module_alloc().
Signed-off-by: Mike Rapoport (IBM) <rppt@kernel.org>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions