smscufx: change edid data to u8 instead of char
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 21 Sep 2011 07:16:24 +0000 (10:16 +0300)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 3 Oct 2011 15:52:05 +0000 (15:52 +0000)
Having "edid" as char caused a problem in ufx_read_edid() where we
compared "edid[i] != 0xFF".  Because of the type difference, the
condition was never true and the error checking failed.

Also I added a __user notation to silence a sparse complaint.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>

No differences found