Skip to content

[WIP][bugfix] corrected carriage return bug for specific sys_log() call#45

Open
PThierry wants to merge 1 commit intowookey-project:masterfrom
PThierry:pth/debug
Open

[WIP][bugfix] corrected carriage return bug for specific sys_log() call#45
PThierry wants to merge 1 commit intowookey-project:masterfrom
PThierry:pth/debug

Conversation

@PThierry
Copy link
Copy Markdown
Contributor

Description:

  • invalid carriage return handling when no newline is used at end of userspace buffer

Type:

  • BUG

Rationale:

Ideally, the kernel should not patch the message string itself. The userspace message string is prefixed with the task name in order to increase the readability of the overall log interface, but the message string may include 0, 1, or multiple newlines. Each of them should be handled properly (meaning adding the carriage return char, as the output is a serial console). No other modification should be done (adding carriage if there is no newline for e.g.)

@PThierry PThierry requested a review from arnauldm October 14, 2019 12:07
@PThierry PThierry added the bug Something isn't working label Oct 14, 2019
@PThierry PThierry changed the title [bugfix] corrected carriage return bug for specific sys_log() call [WIP][bugfix] corrected carriage return bug for specific sys_log() call Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant