mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-08 01:54:44 +00:00
dm:use acrn-dm logger function instread of fprintf
use acrn-dm logger function instread of fprintf, this helps the stability testing log capture. Tracked-On: #4098 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Cao Minggui <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -277,7 +277,7 @@ ps2mouse_write(struct ps2mouse_info *mouse, uint8_t val, int insert)
|
||||
fifo_put(mouse, PS2MC_ACK);
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "Unhandled ps2 mouse current "
|
||||
pr_err("Unhandled ps2 mouse current "
|
||||
"command byte 0x%02x\n", val);
|
||||
break;
|
||||
}
|
||||
@@ -346,7 +346,7 @@ ps2mouse_write(struct ps2mouse_info *mouse, uint8_t val, int insert)
|
||||
break;
|
||||
default:
|
||||
fifo_put(mouse, PS2MC_ACK);
|
||||
fprintf(stderr, "Unhandled ps2 mouse command "
|
||||
pr_err("Unhandled ps2 mouse command "
|
||||
"0x%02x\n", val);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user