[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1370433872-25251-1-git-send-email-aircrach115@gmail.com>
Date: Wed, 5 Jun 2013 14:04:32 +0200
From: Matthias Schid <aircrach115@...il.com>
To: gregkh@...uxfoundation.org
Cc: linux-kernel@...r.kernel.org, sjakub@...il.com,
jonbrett.dev@...il.com, cruz@...sive-dynamics.biz, joe@...ches.com,
devel@...verdev.osuosl.org, linux-kernel@...cs.fau.de,
steffhip@...glemail.com, simon.puels@...il.com,
Matthias Schid <aircrach115@...il.com>
Subject: [PATCH 2/2] 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@...il.com>
Signed-off-by: Stefan Huber <steffhip@...glemail.com>
Signed-off-by: Simon Puels <simon.puels@...il.com>
---
drivers/staging/asus_oled/asus_oled.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/asus_oled/asus_oled.c b/drivers/staging/asus_oled/asus_oled.c
index 173fb9a..9fe13d0 100644
--- a/drivers/staging/asus_oled/asus_oled.c
+++ b/drivers/staging/asus_oled/asus_oled.c
@@ -383,10 +383,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;
}
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists