diff options
author | Matthias Schid <aircrach115@gmail.com> | 2013-06-05 12:04:32 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-06-05 22:29:07 (GMT) |
commit | 5086c5082f1e31b332b2be3662cd75cd3e353bdc (patch) | |
tree | b02e8a58a03856ab270880cca120183c0774c1a8 | |
parent | 2a8fb371027b2a0cbe25a7bb812b0e99be807382 (diff) | |
download | linux-5086c5082f1e31b332b2be3662cd75cd3e353bdc.tar.xz |
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: Matthias Schid <aircrach115@gmail.com>
Signed-off-by: Stefan Huber <steffhip@googlemail.com>
Signed-off-by: Simon Puels <simon.puels@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/asus_oled/asus_oled.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/asus_oled/asus_oled.c b/drivers/staging/asus_oled/asus_oled.c index e1038aa..3654dc3 100644 --- a/drivers/staging/asus_oled/asus_oled.c +++ b/drivers/staging/asus_oled/asus_oled.c @@ -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; } |