Re: [PATCH] iio: imu: bno055: terminate dev_err() strings with a newline
From: Andy Shevchenko
Date: Tue Jun 02 2026 - 18:17:25 EST
On Thu, May 21, 2026 at 12:08:50AM +0500, Stepan Ionichev wrote:
> Two dev_err() calls in bno055_ser_write_reg() and bno055_ser_read_reg()
> are missing the trailing newline, so the kernel log buffer continues
> the next message on the same line.
>
> Add the missing \n.
Surprisingly the kernel log buffer will be fine even without this patch.
So the commit message should say something about consistency of the style
and theoretical problems in the future in case one switches back from dev_err()
to pr_err().
You can dig into sources to understand why your patch changes nothing in the
behaviour.
--
With Best Regards,
Andy Shevchenko