diff options
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/amdiic.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/amdpm.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/ichiic.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/piixpm.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/amdiic.c b/sys/dev/pci/amdiic.c index 55430a6e0bc..ce856247057 100644 --- a/sys/dev/pci/amdiic.c +++ b/sys/dev/pci/amdiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amdiic.c,v 1.2 2006/01/01 20:52:26 deraadt Exp $ */ +/* $OpenBSD: amdiic.c,v 1.3 2006/01/05 10:43:15 grange Exp $ */ /* * Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org> @@ -187,7 +187,7 @@ amdiic_attach(struct device *parent, struct device *self, void *aux) sc->sc_i2c_tag.ic_release_bus = amdiic_i2c_release_bus; sc->sc_i2c_tag.ic_exec = amdiic_i2c_exec; - bzero(&iba, sizeof iba); + bzero(&iba, sizeof(iba)); iba.iba_name = "iic"; iba.iba_tag = &sc->sc_i2c_tag; config_found(self, &iba, iicbus_print); diff --git a/sys/dev/pci/amdpm.c b/sys/dev/pci/amdpm.c index ce7056ecbda..1f2bc20f190 100644 --- a/sys/dev/pci/amdpm.c +++ b/sys/dev/pci/amdpm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amdpm.c,v 1.8 2006/01/05 08:57:27 grange Exp $ */ +/* $OpenBSD: amdpm.c,v 1.9 2006/01/05 10:43:15 grange Exp $ */ /* * Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org> @@ -249,7 +249,7 @@ amdpm_attach(struct device *parent, struct device *self, void *aux) sc->sc_i2c_tag.ic_release_bus = amdpm_i2c_release_bus; sc->sc_i2c_tag.ic_exec = amdpm_i2c_exec; - bzero(&iba, sizeof iba); + bzero(&iba, sizeof(iba)); iba.iba_name = "iic"; iba.iba_tag = &sc->sc_i2c_tag; config_found(self, &iba, iicbus_print); diff --git a/sys/dev/pci/ichiic.c b/sys/dev/pci/ichiic.c index 2f0b9d1c222..8dccbdfbb37 100644 --- a/sys/dev/pci/ichiic.c +++ b/sys/dev/pci/ichiic.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ichiic.c,v 1.9 2006/01/05 08:28:30 grange Exp $ */ +/* $OpenBSD: ichiic.c,v 1.10 2006/01/05 10:43:15 grange Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org> @@ -163,7 +163,7 @@ ichiic_attach(struct device *parent, struct device *self, void *aux) sc->sc_i2c_tag.ic_release_bus = ichiic_i2c_release_bus; sc->sc_i2c_tag.ic_exec = ichiic_i2c_exec; - bzero(&iba, sizeof iba); + bzero(&iba, sizeof(iba)); iba.iba_name = "iic"; iba.iba_tag = &sc->sc_i2c_tag; config_found(self, &iba, iicbus_print); diff --git a/sys/dev/pci/piixpm.c b/sys/dev/pci/piixpm.c index 482d4260aa1..bab06580b21 100644 --- a/sys/dev/pci/piixpm.c +++ b/sys/dev/pci/piixpm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: piixpm.c,v 1.13 2006/01/05 08:28:30 grange Exp $ */ +/* $OpenBSD: piixpm.c,v 1.14 2006/01/05 10:43:15 grange Exp $ */ /* * Copyright (c) 2005, 2006 Alexander Yurchenko <grange@openbsd.org> @@ -161,7 +161,7 @@ piixpm_attach(struct device *parent, struct device *self, void *aux) sc->sc_i2c_tag.ic_release_bus = piixpm_i2c_release_bus; sc->sc_i2c_tag.ic_exec = piixpm_i2c_exec; - bzero(&iba, sizeof iba); + bzero(&iba, sizeof(iba)); iba.iba_name = "iic"; iba.iba_tag = &sc->sc_i2c_tag; config_found(self, &iba, iicbus_print); |