Skip to content
Commit e4826a94 authored by Thomas Meyer's avatar Thomas Meyer Committed by Rob Clark
Browse files

drm/msm: Odd PTR_ERR usage



The variable priv->kms is not initialized yet.

Found by "scripts/coccinelle/tests/odd_ptr_err.cocci".
PTR_ERR should access the value just tested by IS_ERR.

Signed-off-by: default avatarThomas Meyer <thomas@m3y3r.de>
parent d8524ae9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment