diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-12-08 18:56:21 +0200 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-01-16 21:06:26 +0200 |
commit | e29c30f5952e9d7cf87cc018b686d8421dd58629 (patch) | |
tree | 460ad6910941edfe63fa374190335190d8e9463c /lib/intel_os.c | |
parent | cf9f7fd077693cc568607e8d85abd254766b5f99 (diff) |
tools/cnl_compute_wrpll: Fix abs(unsigned)
../tools/cnl_compute_wrpll.c: In function ‘cnl_ddi_calculate_wrpll2’:
../tools/cnl_compute_wrpll.c:216:21: warning: taking the absolute value of unsigned type ‘uint32_t’ {aka ‘unsigned int’} has no effect [-Wabsolute-value]
216 | dco_centrality = abs(dco - dco_mid);
| ^~~
../tools/cnl_compute_wrpll.c: In function ‘test_multipliers’:
../tools/cnl_compute_wrpll.c:258:21: warning: taking the absolute value of unsigned type ‘unsigned int’ has no effect [-Wabsolute-value]
258 | dco_centrality = abs(dco - dco_mid);
| ^~~
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/intel_os.c')
0 files changed, 0 insertions, 0 deletions