Skip to content
Commit 836cf37d authored by Loic Domaigne's avatar Loic Domaigne Committed by Benjamin Cabé
Browse files

driver: gpio_ite_it8xxx2_v2: fix untrusted bound loop



Coverity is reporting a possible untrusted loop bound, caused by accessing
num_pins through a tainted pointer. Use explicit type cast to keep coverity
happy.

CID: 347195

Signed-off-by: default avatarLoic Domaigne <tech@domaigne.com>
parent 4f3523d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment