drivers/gpu/drm/radeon/radeon_display.c +555 radeon_compute_pll_legacy(106)
warn: unsigned 'error' is never less than zero.
553 if (pll->flags &
RADEON_PLL_PREFER_CLOSEST_LOWER) {
554 error = freq -
current_freq;
555 error = error < 0 ?
0xffffffff : error;
^^^^^^^^^
"error" is unsigned so it's never less than zero.
556 } else
557 error =
abs(current_freq - freq);
regards,
dan carpenter
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel