watchdogtest: set error printk level for critical warning log
1. change the error level for the warning log so that kernel_log.txt in ramdump can see theese test log. 2. add the mmi keyword for the special warning info log. Change-Id: I6fd169d0c6320e31764f7995b8a7410be3b8d3be Reviewed-on: https://gerrit.mot.com/2469988 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jianqi Yang <yangj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
1 parent
d6257bb7ac
commit
1f6f69f056
1 file changed
+4
-4
@@ -38,8 +38,8 @@ static DECLARE_WORK(wdt_timeout_work_struct, wdt_timeout_work);
|
||||
static int fire_watchdog_reset_set(void *data, u64 val)
|
||||
{
|
||||
|
||||
printk(KERN_WARNING "Fire hardware watchdog reset.\n");
|
||||
printk(KERN_WARNING "Please wait ...\n");
|
||||
printk(KERN_ERR "MMI Fire test hardware watchdog reset.\n");
|
||||
printk(KERN_ERR "Please wait ...\n");
|
||||
if (trigger_wdog_bite) {
|
||||
trigger_wdog_bite();
|
||||
} else {
|
||||
@@ -54,8 +54,8 @@ DEFINE_SIMPLE_ATTRIBUTE(fire_watchdog_reset_fops,
|
||||
|
||||
static int fire_softlockup_reset_set(void *data, u64 val)
|
||||
{
|
||||
printk(KERN_WARNING "Fire softlockup watchdog reset.\n");
|
||||
printk(KERN_WARNING "Please wait ...\n");
|
||||
printk(KERN_ERR "MMI Fire test softlockup watchdog reset.\n");
|
||||
printk(KERN_ERR "Please wait ...\n");
|
||||
preempt_disable();
|
||||
while (1)
|
||||
;
|
||||
|
||||
Reference in new issue
Block a user