Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1285096

radeon -Wmaybe-uninitialized crap

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject radeon -Wmaybe-uninitialized crap
Date 2015-12-07 10:00 +0100
Message-ID <qCZOi-2cf-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi guys,

this just started appearing when building -rc4. Got fixes yet? :-)

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;
                                          ^
-- 
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

radeon -Wmaybe-uninitialized crap Borislav Petkov <bp@alien8.de> - 2015-12-07 10:00 +0100
  RE: radeon -Wmaybe-uninitialized crap "Deucher, Alexander" <Alexander.Deucher@amd.com> - 2015-12-07 17:50 +0100
    Re: radeon -Wmaybe-uninitialized crap Borislav Petkov <bp@alien8.de> - 2015-12-07 18:20 +0100
      Re: radeon -Wmaybe-uninitialized crap Borislav Petkov <bp@alien8.de> - 2015-12-11 11:40 +0100

csiph-web