summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2018-04-10 23:06:34 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 21:44:14 +0300
commit403dc5e8aab7b3d18a625e516698ea49d2be432e (patch)
treeefb397ad060e98b250cc5ecf124bfb840a60c55e /lib/mpi/mpiutil.c
parent34ff937029edf708d7db0d450b5f505969b68950 (diff)
downloadlinux-403dc5e8aab7b3d18a625e516698ea49d2be432e.tar.xz
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 <harry.wentland@amd.com> Reviewed-by: Tony Cheng <Tony.Cheng@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions