aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorSeung-Woo Kim <[email protected]>2013-07-02 17:57:04 +0900
committerDave Airlie <[email protected]>2013-07-04 10:52:50 +1000
commitfe2ef780669d9bbd2f921b247dc79266b00b99ab (patch)
treee907ef6b4c9a7e7129a431e8a2b7275ce0e9975e /net/lapb/lapb_out.c
parentcf4b91f2d9de7ccc7ca0fb0931d55aaf8569fbc0 (diff)
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 <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions