Skip to content
Snippets Groups Projects
Commit b6a31950 authored by Roel Kluin's avatar Roel Kluin Committed by Jean Delvare
Browse files

i2c: Test off by one in {piix4,vt596}_transaction()


With `while (timeout++ < MAX_TIMEOUT)' timeout reaches MAX_TIMEOUT + 1
after the loop. This is probably unlikely to produce a problem.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarJean Delvare <khali@linux-fr.org>
parent 0b2c3688
No related branches found
No related tags found
No related merge requests found
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