Commit 54fd65c0 authored by Michael Thalmeier's avatar Michael Thalmeier Committed by Willy Tarreau
Browse files

usb: chipidea: debug: check before accessing ci_role



commit 0340ff83 upstream.

ci_role BUGs when the role is >= CI_ROLE_END.

Cc: stable@vger.kernel.org  #v3.10+
Signed-off-by: default avatarMichael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
parent f862c943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment