projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b17c9
)
Staging: asus_oled: fix build warnings
author
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 4 Jun 2009 18:29:54 +0000
(11:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:55 +0000
(11:00 -0700)
This fixes some build warnings in the asus_oled driver.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/asus_oled/asus_oled.c
patch
|
blob
|
history
diff --git
a/drivers/staging/asus_oled/asus_oled.c
b/drivers/staging/asus_oled/asus_oled.c
index
04dde4b
..
9270f5d
100644
(file)
--- a/
drivers/staging/asus_oled/asus_oled.c
+++ b/
drivers/staging/asus_oled/asus_oled.c
@@
-516,7
+516,7
@@
static ssize_t odev_set_picture(struct asus_oled_dev *odev, const char *buf, siz
max_offs = odev->width * odev->height;
while (offs < count && odev->buf_offs < max_offs) {
- int ret;
+ int ret
= 0
;
if (buf[offs] == '1' || buf[offs] == '#') {
ret = append_values(odev, 1, 1);