Skip to content
Commit f8ceec5f authored by Siew Chin Lim's avatar Siew Chin Lim Committed by Liwei Song
Browse files

intel: fcs: Properly initialize 'timeout' in RNG request before use

commit b86c14665fda1b7044937a7ec76f3f2c63d357ec from
https://github.com/altera-opensource/linux-socfpga.git

 socfpga-5.15.30-lts.

Initialize 'timeout' outside if statement. Otherwise, the initialization
maybe skipped if ret is error. This issue is detected by Klocwork.

Signed-off-by: default avatarSiew Chin Lim <elly.siew.chin.lim@intel.com>
Signed-off-by: default avatarLiwei Song <liwei.song@windriver.com>
parent 92b7c76a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment