Files
kernel_common_drivers/drivers/memory_debug/memory_ext
qiankun.wang 6104e2232d mm: fix the access function of "watch_addr". [1/1]
PD#SWPL-175818

Problem:
"cat /sys/class/watch_point/watch_addr" will crash,
dbgwvr4_el1 that should not be accessed was accessed..

Solution:
Delete "do{}while(0)". and break will take effect on 'switch' rather
than 'while'.

Verify:
SC2

Change-Id: Ie613f032fe8f6b951c503f318064cc5b3511b914
Signed-off-by: qiankun.wang <qiankun.wang@amlogic.com>
2024-07-03 02:52:38 -07:00
..