aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorHoria Geantă <[email protected]>2018-05-23 11:32:42 +0000
committerHerbert Xu <[email protected]>2018-05-30 16:13:47 +0000
commitd9c35771d884c6d8eb57057be4bc9a74161361bc (patch)
tree678b560f5c842d9b37aa1ade9e0e669034328643 /drivers/fpga/fpga-mgr.c
parentcrypto: caam - fix rfc4543 descriptors (diff)
downloadkernel-d9c35771d884c6d8eb57057be4bc9a74161361bc.tar.gz
kernel-d9c35771d884c6d8eb57057be4bc9a74161361bc.zip
crypto: caam/qi - fix warning in init_cgr()
Coverity warns about an "Unintentional integer overflow (OVERFLOW_BEFORE_WIDEN)" when computing the congestion threshold value. Even though it is highly unlikely for an overflow to happen, use this as an opportunity to simplify the code. Signed-off-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions