summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/menelaus.c
diff options
context:
space:
mode:
authorLecopzer Chen <lecopzer@gmail.com>2021-01-23 21:01:29 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2021-01-24 10:34:52 -0800
commit5dabd1712cd056814f9ab15f1d68157ceb04e741 (patch)
treeb9aac80e0847c59635c499080a1efb29c1eaa489 /drivers/mfd/menelaus.c
parenta11a496ee6e2ab6ed850233c96b94caf042af0b9 (diff)
downloadlinux-5dabd1712cd056814f9ab15f1d68157ceb04e741.tar.bz2
kasan: fix incorrect arguments passing in kasan_add_zero_shadow
kasan_remove_zero_shadow() shall use original virtual address, start and size, instead of shadow address. Link: https://lkml.kernel.org/r/20210103063847.5963-1-lecopzer@gmail.com Fixes: 0207df4fa1a86 ("kernel/memremap, kasan: make ZONE_DEVICE with work with KASAN") Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com> Reviewed-by: Andrey Konovalov <andreyknvl@google.com> Cc: Andrey Ryabinin <aryabinin@virtuozzo.com> Cc: Dan Williams <dan.j.williams@intel.com> Cc: Dmitry Vyukov <dvyukov@google.com> Cc: Alexander Potapenko <glider@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mfd/menelaus.c')
0 files changed, 0 insertions, 0 deletions