Skip to content
Snippets Groups Projects
Commit b48f4b3b authored by Imre Deak's avatar Imre Deak
Browse files

drm/i915: Fix bounds check in intel_get_shared_dpll_id()


Fix an off-by-one error in the upper-bound check and while at it clear
up a bit the function.

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226203455.23032-2-imre.deak@intel.com
parent 7a9ccdd1
No related branches found
No related tags found
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