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
| ||
|
Date: Sun, 27 May 2007 15:54:57 +0300 From: Artem Bityutskiy <dedekind@...radead.org> To: Jeff Garzik <jeff@...zik.org> Cc: Andrew Morton <akpm@...ux-foundation.org>, LKML <linux-kernel@...r.kernel.org>, linux-mtd@...ts.infradead.org Subject: Re: [PATCH] mtd/ubi: silence gcc warning On Sun, 2007-05-27 at 07:32 -0400, Jeff Garzik wrote: > Silence the gcc warning > > drivers/mtd/ubi/eba.c: In function ‘ubi_eba_read_leb’: > drivers/mtd/ubi/eba.c:371: warning: ‘crc’ may be used uninitialized in this function > > This is an example of the uninit'd-var warnings emitted by gcc that > can be proven to be bogus. > > Normally I would commit this to my git repository containing > such verified cases, but with all the goto-driven control flow in > ubi_eba_read_leb(), I feel that initializing the 'crc' variable is > an easy way to both shut up gcc, and also make the code less fragile > for the long term. Committed to the UBI git tree, thanks. -- Best regards, Artem Bityutskiy (Битюцкий Артём) - 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