lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 09 Aug 2006 23:30:33 +0200
From:	Oleg Verych <olecom@...wer.upol.cz>
To:	linux-kernel@...r.kernel.org
Subject:  Re: [PATCH] arch/i386/kernel/cpu/transmeta.c, kernel 2.6.17.8

Forrest Voight:
 > Corrects warning:
 > arch/i386/kernel/cpu/transmeta.c: In function 'init_transmeta':
 > arch/i386/kernel/cpu/transmeta.c:12: warning: 'cpu_freq' may be used
 > uninitialized in this function
 > -       unsigned int cpu_rev, cpu_freq, cpu_flags, new_cpu_rev;
 > +       unsigned int cpu_rev, cpu_freq = 0, cpu_flags, new_cpu_rev;

If one doesn't want to add more init code, but variable indeed used 
uninitialazed, in GCC 3.X struct may be used, GCC 4.X needs 'volatile'.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ