mirror of https://gitee.com/openkylin/linux.git
8672aed7bd
We'll OOPS in ramoops_get_next_prz() if the platform didn't ask for any
ftrace zones (i.e., cxt->fprzs will be NULL). Let's just skip this
entire FTRACE section if there's no 'fprzs'.
Regression seen on a coreboot/depthcharge-based Chromebook.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
ftrace.c | ||
inode.c | ||
internal.h | ||
platform.c | ||
pmsg.c | ||
ram.c | ||
ram_core.c |