6e6eae04f5
Currently the check for the error return code -ERESTARTSYS is dead code
and never executed because a previous check for ret < 0 is catching this
and returning -ETIMEDOUT instead. Fix this by checking for -ERESTARTSYS
before the more generic negative error code.
Addresses-Coverity: ("Logically dead code")
Fixes:
|
||
---|---|---|
.. | ||
hid_descriptor | ||
Kconfig | ||
Makefile | ||
amd_sfh_client.c | ||
amd_sfh_hid.c | ||
amd_sfh_hid.h | ||
amd_sfh_pcie.c | ||
amd_sfh_pcie.h |