Commit c8e3c637 authored by liubo's avatar liubo
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/I7RO5Q
CVE: NA
Reference: https://gitee.com/openeuler/kernel/commit/79246e864484015e1ef3c7ecec2d18a6b27199ec



-------------------------------------------------

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 78c5936f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment