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

Commit 0d99b6eb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Staging: asus_oled: fix build warnings



This fixes some build warnings in the asus_oled driver.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 04b17c93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);