From: Kyle McMartin Date: Tue, 16 Feb 2010 21:18:37 +0000 (-0500) Subject: vgaarb: fix "target=default" passing X-Git-Tag: v2.6.33~29^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cc9116c2b37c525965d76a3e6def38913259427;p=pandora-kernel.git vgaarb: fix "target=default" passing Commit 77c1ff3982c6b36961725dd19e872a1c07df7f3b fixed the userspace pointer dereference, but introduced another bug pointed out by Eugene Teo in RH bug #564264. Instead of comparing the point we were at in the string, we instead compared the beginning of the string to "default". Signed-off-by: Kyle McMartin Reported-by: Eugene Teo Signed-off-by: Dave Airlie --- Reading git-diff-tree failed