diff options
author | Harry Wentland <[email protected]> | 2018-04-10 16:06:34 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-05-15 13:44:14 -0500 |
commit | 403dc5e8aab7b3d18a625e516698ea49d2be432e (patch) | |
tree | efb397ad060e98b250cc5ecf124bfb840a60c55e /lib/memory-notifier-error-inject.c | |
parent | 34ff937029edf708d7db0d450b5f505969b68950 (diff) |
drm/amd/display: Use int for calculating vline start
We are not sure these calculations will never need negative numbers. Use
signed integers and warn and cap at 0 if this ever happens.
Signed-off-by: Harry Wentland <[email protected]>
Reviewed-by: Tony Cheng <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions