Skip to contentSkip to conversation

Fixup asus_oled

Staging In review Erik Andrén 1 participant 3 messages Mar 19, 2009 Staging

lore
Share & tools
lore
#0 lore raw

Hi,
This patch fixes some issues that checkpatch.pl pointed out.

Best regards,
Erik

#1 lore raw

PATCH 1/1 Fixup asus_oled.c

---
 drivers/staging/asus_oled/asus_oled.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/asus_oled/asus_oled.c +1 -1
index d81f4bd..7a40f61 100644
@@ -522,7 +522,7 @@ static ssize_t odev_set_picture(struct asus_oled_dev *odev, const char *buf, siz
 			line were equal to the last character in this line. */
 			if (odev->buf_offs % odev->width != 0) {
 				ret = append_values(odev, odev->last_val,
-					odev->width - (odev->buf_offs % odev->width);
+					odev->width - (odev->buf_offs % odev->width));
 				if (ret < 0)
 					return ret;
 			}
Signature · 1 line
1.6.0.4
#2 lore raw

Re: [PATCH 1/1] Fixup asus_oled.c

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, wrong patch.
I'll send the correct one shortly.

Quoted 9 lines · Erik Andrén
---
 drivers/staging/asus_oled/asus_oled.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/staging/asus_oled/asus_oled.c +0 -0
index d81f4bd..7a40f61 100644

drivers/staging/asus_oled/asus_oled.c static ssize_t odev_set_picture(struct asus_oled_dev *odev, const char *buf, siz · line 528

Quoted 8 lines
drivers/staging/asus_oled/asus_oled.c +1 -1
@@ -522,7 +522,7 @@ static ssize_t odev_set_picture(struct asus_oled_dev *odev, const char *buf, siz
 			line were equal to the last character in this line. */
 			if (odev->buf_offs % odev->width != 0) {
 				ret = append_values(odev, odev->last_val,
-					odev->width - (odev->buf_offs % odev->width);
+					odev->width - (odev->buf_offs % odev->width));
 				if (ret < 0)
 					return ret;
 			}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknCs4kACgkQN7qBt+4UG0GJjQCgrpAc2Hmq5su3U4uBga3QNwYD I2IAnj4eweBvjVaUtb+fgrXE4waKTvr7
=wCcy
-----END PGP SIGNATURE-----