From 29997b07cbc6897eaf23881e2a831f6219de5ac6 Mon Sep 17 00:00:00 2001 From: Yuanhsi Chung Date: Wed, 10 May 2023 11:01:25 +0800 Subject: [PATCH] Update debug messages --- Toshiba-8c8w/nsc_driver.c | 2 +- Toshiba-8c8w/request_schedule.c | 2 +- Toshiba-8c8w/request_transform.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Toshiba-8c8w/nsc_driver.c b/Toshiba-8c8w/nsc_driver.c index 9ded951..7304f2a 100644 --- a/Toshiba-8c8w/nsc_driver.c +++ b/Toshiba-8c8w/nsc_driver.c @@ -292,7 +292,7 @@ V2FProgramPageAsync(T4REGS *t4regs, int way, unsigned int rowAddress, void *page void __attribute__((optimize("O0"))) V2FEraseBlockAsync(T4REGS *t4regs, int way, unsigned int rowAddress) { - pr_error("ChReg 0x%p Way %u Row %u", t4regs, way, rowAddress); + pr_warn("ChReg 0x%p Way %u Row %u", t4regs, way, rowAddress); T4REG_CMD_ERASE_BLOCK eraseBlockCmd; assert((rowAddress & 0xFF) == 0); diff --git a/Toshiba-8c8w/request_schedule.c b/Toshiba-8c8w/request_schedule.c index 22303d7..699c8eb 100644 --- a/Toshiba-8c8w/request_schedule.c +++ b/Toshiba-8c8w/request_schedule.c @@ -349,7 +349,7 @@ void SchedulingNandReqPerCh(unsigned int chNo) } else { - pr_debug("Ch[%u]: No idle way can be used to issue new request ...", chNo); + pr_debug("Ch[%u]: There is no way in the status report list...", chNo); } /** diff --git a/Toshiba-8c8w/request_transform.c b/Toshiba-8c8w/request_transform.c index f0959dc..919cda0 100644 --- a/Toshiba-8c8w/request_transform.c +++ b/Toshiba-8c8w/request_transform.c @@ -327,7 +327,7 @@ void DataReadFromNand(unsigned int originReqSlotTag) * To handle this and similar situations, the fw should just skip to read the * target page and return garbage data, instead of stucking here. */ - pr_error("Req[%u]: No mapping info for LSA[%u]!", originReqSlotTag, REQ_LSA(originReqSlotTag)); + pr_warn("Req[%u]: No mapping info for LSA[%u]!", originReqSlotTag, REQ_LSA(originReqSlotTag)); return; }