summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_device.c
diff options
context:
space:
mode:
authorTim Gardner <tim.gardner@canonical.com>2016-01-07 10:31:32 -0700
committerAlex Deucher <alexander.deucher@amd.com>2016-01-08 15:39:28 -0500
commit1ef897e4645392c6c5230f2ae92c6bc658e44345 (patch)
treef7ffb0cfcc05a9cbdfa36eda66a8f5a9393648ae /drivers/gpu/drm/radeon/radeon_device.c
parent191caba6cc4c95ba282304a10a2a9cba85450317 (diff)
downloadop-kernel-dev-1ef897e4645392c6c5230f2ae92c6bc658e44345.zip
op-kernel-dev-1ef897e4645392c6c5230f2ae92c6bc658e44345.tar.gz
radeon: r100: Silence 'may be used uninitialized' warnings
CC [M] drivers/gpu/drm/radeon/r100.o In file included from drivers/gpu/drm/radeon/radeon_mode.h:37:0, from drivers/gpu/drm/radeon/radeon.h:80, from drivers/gpu/drm/radeon/r100.c:33: drivers/gpu/drm/radeon/r100.c: In function 'r100_bandwidth_update': include/drm/drm_fixed.h:64:13: warning: 'crit_point_ff.full' may be used uninitialized in this function [-Wmaybe-uninitialized] u64 tmp = ((u64)A.full << 13); ^ drivers/gpu/drm/radeon/r100.c:3153:63: note: 'crit_point_ff.full' was declared here fixed20_12 peak_disp_bw, mem_bw, pix_clk, pix_clk2, temp_ff, crit_point_ff; ^ drivers/gpu/drm/radeon/r100.c:3583:42: warning: 'disp_drain_rate.full' may be used uninitialized in this function [-Wmaybe-uninitialized] temp_ff.full = read_return_rate.full - disp_drain_rate.full; gcc version 5.3.1 20151219 (Ubuntu 5.3.1-4ubuntu1) Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: David Airlie <airlied@linux.ie> Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud