Skip to content

nvidia: suppress newline-only RM log output#1189

Open
francdoc wants to merge 1 commit into
NVIDIA:mainfrom
francdoc:fix/1098-newline-only-rm-log
Open

nvidia: suppress newline-only RM log output#1189
francdoc wants to merge 1 commit into
NVIDIA:mainfrom
francdoc:fix/1098-newline-only-rm-log

Conversation

@francdoc

Copy link
Copy Markdown

Fixes #1098.

out_string() forwards strings from RM directly to printk(). If RM emits a separator consisting only of a newline, this can create a blank kernel log record during boot and appear in journalctl -p3 as a false error.

Ignore NULL, empty, and newline-only strings before calling printk(). Real log messages are still printed unchanged.

Although the visible symptom is a log artifact, this changes executable logging behavior by suppressing separator-only output before printk().

Validation:

  • git diff --check

Not performed:

  • Local module build
  • Runtime boot-log test

out_string() forwards strings from RM directly to printk(). If RM emits a separator consisting only of a newline, this can create a blank kernel log record during boot.

Ignore NULL, empty, and newline-only strings before calling printk() so separator-only output does not appear as a false boot error in journalctl -p3.

Fixes NVIDIA#1098.
@CLAassistant

CLAassistant commented Jun 10, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blank message during boot is interpreted as an error

2 participants