Commit 79246e86 authored by liubo's avatar liubo Committed by Zheng Zengkai
Browse files

etmem: etmem scan module Replace WARN_ONCE() with debug_printk for "nothing read"

euleros inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4VUFS


CVE: NA

-------------------------------------------------
The etmem_scan.ko module is used to scan the process memory.

The specific usage is as follows:
The etmem user mode process issues scan commands through
/proc/pid/idle_pages, and the etmem_scan module scans
based on the issued address information.

Under certain circumstances, the phenomenon that the scan result
is empty may occur. This phenomenon is a normal logic flow and
does not need to print the log through WARN_ONCE.

Therefore, Replace WARN_ONCE() with debug_printk for "nothing read"

Signed-off-by: default avatarliubo <liubo254@huawei.com>
Reviewed-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent c08f67f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment