]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
super-intel: Fix issue with abs() being irrelevant
authorJes Sorensen <jsorensen@fb.com>
Tue, 9 Jul 2019 17:26:08 +0000 (13:26 -0400)
committerJes Sorensen <jsorensen@fb.com>
Tue, 9 Jul 2019 17:26:08 +0000 (13:26 -0400)
commita4f7290c20c2ff78328c9db0b18029165cfb05b2
treee57ca4f12a15fb05110949ff8fcd076940c4fd31
parent4ec389e3f0c1233f5aa2d5b4e63d96e33d2a37f0
super-intel: Fix issue with abs() being irrelevant

gcc9 complains about subtracting unsigned from unsigned and code
assuming the result can be negative.

Signed-off-by: Jes Sorensen <jsorensen@fb.com>
super-intel.c