From: Govindarajulu Varadarajan <redacted>
Date: Wed, 3 Feb 2016 14:40:44 +0530
From: Sandeep Pillai <redacted>
Firmware posts the devcmd result in result ring. In case of timeout, driver
does not increment the current result pointer and firmware could post the
result after timeout has occurred. During next devcmd, driver would be
reading the result of previous devcmd.
Fix this by incrementing result even in case of timeout.
Fixes: 373fb0873d43 ("enic: add devcmd2")
Signed-off-by: Sandeep Pillai <redacted>
Signed-off-by: Govindarajulu Varadarajan <redacted>
Applied and queued up for -stable, thanks.