]> git.itanic.dy.fi Git - linux-stable/commit
sunhme: Combine continued messages
authorSean Anderson <seanga2@gmail.com>
Sat, 24 Sep 2022 01:53:37 +0000 (21:53 -0400)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Sep 2022 00:45:38 +0000 (17:45 -0700)
commit24cddbc3ef11515e3e9ef43d37cab5cbcb1d75b3
treecb65b7db971b4db51e60af78e0dd51fd6aa74190
parent8acf878f29d00563e2bbed36de6b1be75dc4ab7a
sunhme: Combine continued messages

This driver seems to have been written under the assumption that messages
can be continued arbitrarily. I'm not when this changed (if ever), but such
ad-hoc continuations are liable to be rudely interrupted. Convert all such
instances to single prints. This loses a bit of timing information (such as
when a line was constructed piecemeal as the function executed), but it's
easy to add a few prints if necessary. This also adds newlines to the ends
of any prints without them.

Since (almost every) debug print included the name of the function, include
it automatically.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/sun/sunhme.c