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


Groups > linux.kernel > #1289404

Re: radeon -Wmaybe-uninitialized crap

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: radeon -Wmaybe-uninitialized crap
Date 2015-12-11 11:40 +0100
Message-ID <qEthf-311-17@gated-at.bofh.it> (permalink)
References <qCZOi-2cf-11@gated-at.bofh.it> <qD799-75n-27@gated-at.bofh.it> <qD7Ca-7uL-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 07, 2015 at 06:10:02PM +0100, Borislav Petkov wrote:
> On Mon, Dec 07, 2015 at 04:15:22PM +0000, Deucher, Alexander wrote:
> > Odd.  Nothing related to these variables has changed in years.
> 
> Odd indeed. Building that same config on two other boxes doesn't trip
> those up so it must be something gcc-related on that particular box.

Just appeared on another box (ph) too:

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 | NextPrevious 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