diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2010-07-02 03:13:43 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2010-07-02 03:13:43 +0000 |
commit | 17df78769e62888f697709e91fae01a5c354c560 (patch) | |
tree | 8258930e0858437535987e229e45757b9fb0fe34 /sys/dev/pcmcia/if_malo.c | |
parent | 6d99ced538a18cfb44f9fa76abd032b12114620d (diff) |
fix a variety of uninit errors. ok and one correction deraadt
Diffstat (limited to 'sys/dev/pcmcia/if_malo.c')
-rw-r--r-- | sys/dev/pcmcia/if_malo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c index 79a8b6d1f01..7394617fd4e 100644 --- a/sys/dev/pcmcia/if_malo.c +++ b/sys/dev/pcmcia/if_malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_malo.c,v 1.68 2010/05/20 14:03:05 nicm Exp $ */ +/* $OpenBSD: if_malo.c,v 1.69 2010/07/02 03:13:42 tedu Exp $ */ /* * Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org> @@ -559,6 +559,7 @@ cmalo_fw_load_main(struct malo_softc *sc) DPRINTF(1, "%s: helper FW loaded successfully\n", sc->sc_dev.dv_xname); /* download the main firmware */ + bsize = 0; /* XXX really??? */ for (offset = 0; offset < sc->sc_fw_m_size; offset += bsize) { val16 = MALO_READ_2(sc, MALO_REG_RBAL); /* |