diff options
| author | Horia Geantă <[email protected]> | 2018-05-23 11:32:42 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-05-30 16:13:47 +0000 |
| commit | d9c35771d884c6d8eb57057be4bc9a74161361bc (patch) | |
| tree | 678b560f5c842d9b37aa1ade9e0e669034328643 /drivers/fpga/fpga-mgr.c | |
| parent | crypto: caam - fix rfc4543 descriptors (diff) | |
| download | kernel-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
