Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5086c508 authored by Matthias Schid's avatar Matthias Schid Committed by Greg Kroah-Hartman
Browse files

staging/asus_oled fixed linebreak and printk issue



fixed a linebreak within an error message string coding style
issue reported by checkpatch.pl and dev_err format parameters

Signed-off-by: default avatarMatthias Schid <aircrach115@gmail.com>
Signed-off-by: default avatarStefan Huber <steffhip@googlemail.com>
Signed-off-by: default avatarSimon Puels <simon.puels@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2a8fb371
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -387,10 +387,8 @@ static int append_values(struct asus_oled_dev *odev, uint8_t val, size_t count)
		}

		if (i >= odev->buf_size) {
			dev_err(odev->dev, "Buffer overflow! Report a bug:"
			       "offs: %d >= %d i: %d (x: %d y: %d)\n",
			       (int) odev->buf_offs, (int) odev->buf_size,
			       (int) i, (int) x, (int) y);
			dev_err(odev->dev, "Buffer overflow! Report a bug: offs: %zu >= %zu i: %zu (x: %zu y: %zu)\n",
			       odev->buf_offs, odev->buf_size, i, x, y);
			return -EIO;
		}