Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: asus_oled: fix build warnings

This fixes some build warnings in the asus_oled driver.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+1 -1
+1 -1
drivers/staging/asus_oled/asus_oled.c
··· 516 516 max_offs = odev->width * odev->height; 517 517 518 518 while (offs < count && odev->buf_offs < max_offs) { 519 - int ret; 519 + int ret = 0; 520 520 521 521 if (buf[offs] == '1' || buf[offs] == '#') { 522 522 ret = append_values(odev, 1, 1);