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

Commit 7df1a249 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "vfb: Fix parsing of command line args" into msm-4.9

parents 9251fbbf a98245bc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -399,10 +399,10 @@ static int __init vfb_setup(char *options)
		/* Test disable for backwards compatibility */
		if (!strcmp(this_opt, "disable"))
			vfb_enable = 0;
		else if (!strcmp(this_opt, "bpp=")) {
		else if (!strncmp(this_opt, "bpp=", 4)) {
			if (kstrtoint(this_opt + 4, 0, &bpp) < 0)
				bpp = 8;
		} else if (!strcmp(this_opt, "memsize=")) {
		} else if (!strncmp(this_opt, "memsize=", 8)) {
			if (kstrtoul(this_opt + 8, 0, &videomemorysize) < 0)
				videomemorysize = VIDEOMEMSIZE;
		} else