netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ATM bug found
@ 2006-10-01 13:24 Jeff Garzik
  2006-10-01 14:58 ` Mitchell Blank Jr
  2006-10-01 15:14 ` chas williams - CONTRACTOR
  0 siblings, 2 replies; 5+ messages in thread
From: Jeff Garzik @ 2006-10-01 13:24 UTC (permalink / raw)
  To: chas, Netdev List; +Cc: Andrew Morton, Linux Kernel

Unlike 98% of the warnings of this type, this gcc warning does indeed 
seem to indicate a bug:

drivers/atm/zatm.c: In function ‘zatm_open’:
drivers/atm/zatm.c:919: warning: ‘pcr’ may be used uninitialized in this 
function

If alloc_shaper() argument 'unlimited' is true, then pcr is never 
assigned a value.  However, the caller of alloc_shaper() always tests 
the pcr value, regardless of whether or not 'unlimited' is true.

	Jeff



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-10-01 15:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 13:24 ATM bug found Jeff Garzik
2006-10-01 14:58 ` Mitchell Blank Jr
2006-10-01 15:22   ` chas williams - CONTRACTOR
2006-10-01 15:14 ` chas williams - CONTRACTOR
2006-10-01 15:38   ` Mitchell Blank Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).