Skip to content

Commit

Permalink
Update debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
freshLiver committed May 11, 2023
1 parent 2b7ee00 commit 29997b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Toshiba-8c8w/nsc_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion Toshiba-8c8w/request_schedule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Toshiba-8c8w/request_transform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 29997b0

Please sign in to comment.