Re: Linux 6.19-rc1 mediatek mt7921e broke badly

From: Shuah Khan

Date: Tue Dec 30 2025 - 23:00:56 EST


On 12/30/25 18:57, Eric Biggers wrote:
On Tue, Dec 30, 2025 at 05:27:13PM -0800, Linus Torvalds wrote:
On Tue, 30 Dec 2025 at 15:57, Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:

I would recommend reverting f804a5895eba instead of trying
fix it. Then find a better way to eliminate extra newline that
shows up in dmesg when firmware build date happens to have
a newline.

Yeah. Let's revert it.

And the way to fix the extra newline is trivial: just remove it from
the "dev_info()" format string.

Our kernel printing logic will add a newline for the next line anyway
if it is missing (unless somebody explicitly uses PR_CONT).

Can whoever saw the problem confirm that just a revert and a "remove
\n from that dev_info()" fixes the output for them?

That works for me. The revert by itself makes the FORTIFY_SOURCE crash
go away and reintroduces a blank line in the log. Removing the \n from
the string passed to dev_info as well makes the blank line go away.


I just sent the revert. I will try removing \n from dev_info()
later on tomorrow.

My quick trial still showed extra line which didn't make sense
to me. More trials have to wait for tomorrow.

thanks,
-- Shuah