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-next>] [day] [month] [year] [list]
Message-Id: <200803282137.m2SLbTJl011626@imap1.linux-foundation.org>
Date:	Fri, 28 Mar 2008 14:37:29 -0700
From:	akpm@...ux-foundation.org
To:	davem@...emloft.net
Cc:	netdev@...r.kernel.org, akpm@...ux-foundation.org,
	chas@....nrl.navy.mil, jeff@...zik.org
Subject: [patch 1/4] drivers/atm/firestream.c: suppress uninitialized var warning

From: Andrew Morton <akpm@...ux-foundation.org>

drivers/atm/firestream.c: In function 'fs_open':
drivers/atm/firestream.c:870: warning: 'tmc0' may be used uninitialized in this function

I have confirmed that this is a false positive.

Cc: David S. Miller <davem@...emloft.net>
Cc: Jeff Garzik <jeff@...zik.org>
Cc: chas williams <chas@....nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---

 drivers/atm/firestream.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/atm/firestream.c~drivers-atm-firestreamc-suppress-uninitialized-var-warning drivers/atm/firestream.c
--- a/drivers/atm/firestream.c~drivers-atm-firestreamc-suppress-uninitialized-var-warning
+++ a/drivers/atm/firestream.c
@@ -867,7 +867,7 @@ static int fs_open(struct atm_vcc *atm_v
 	int error;
 	int bfp;
 	int to;
-	unsigned short tmc0;
+	unsigned short uninitialized_var(tmc0);
 	short vpi = atm_vcc->vpi;
 	int vci = atm_vcc->vci;
 
_
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ