aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorBenedikt Niedermayr <[email protected]>2022-11-09 11:24:54 +0100
committerKrzysztof Kozlowski <[email protected]>2022-11-10 11:04:07 +0100
commit8dd7e4af585331dda004e92ed0739c3609e37177 (patch)
tree1635cdd52337d87aadffa50390dae5a8f6b606d8 /drivers/fpga/fpga-mgr.c
parent1f1e46b83b7db08c8db31816c857e27da84d4ca3 (diff)
memory: omap-gpmc: fix coverity issue "Control flow issues"
Assign a big positive integer instead of an negative integer to an u32 variable. Also remove the check for ">= 0" which doesn't make sense for unsigned integers. Reported-by: coverity-bot <[email protected]> Addresses-Coverity-ID: 1527139 ("Control flow issues") Fixes: 89aed3cd5cb9 ("memory: omap-gpmc: wait pin additions") Signed-off-by: Benedikt Niedermayr <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions