public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Swich statement in cfi_probe.c
@ 2001-03-12 17:15 Robert Kaiser
  2001-03-12 17:27 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Kaiser @ 2001-03-12 17:15 UTC (permalink / raw)
  To: David Woodhouse, mtd

Hi,

I noticed that in cfi_probe.c, routine cfi_probe_new_chip(), the cases following
the switch(map->buswidth) are not terminated by a break. Thus if the probe
fails for the given buswidth, the code will try all remaining buswidths too.

Is that a bug or does it serve a purpose (if so, which ?)

Rob

----------------------------------------------------------------
Robert Kaiser                         email: rkaiser@sysgo.de
SYSGO RTS GmbH
Am Pfaffenstein 14                    phone: (49) 6136 9948-762
D-55270 Klein-Winternheim / Germany   fax:   (49) 6136 9948-10


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2001-03-12 17:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-12 17:15 Swich statement in cfi_probe.c Robert Kaiser
2001-03-12 17:27 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox