From: Seung-Woo Kim Date: Tue, 2 Jul 2013 08:57:04 +0000 (+0900) Subject: drm: add assertion for checking null edid to drm_edid_block_valid X-Git-Tag: v3.11-rc1~65^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe2ef780669d9bbd2f921b247dc79266b00b99ab;p=pandora-kernel.git drm: add assertion for checking null edid to drm_edid_block_valid If raw_edid of drm_edid_block_vaild() is null, it will crash, so checking in bad label is removed and instead assertion is added at the top of the function. The type of return for the function is bool, so it fixes to return true and false instead of 1 and 0. Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park Reviewed-by: Chris Wilson Signed-off-by: Dave Airlie --- Reading git-diff-tree failed