PERFORCE change 110344 for review

Warner Losh imp at FreeBSD.org
Tue Nov 21 20:00:28 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=110344

Change 110344 by imp at imp_lighthouse on 2006/11/21 19:58:18

	pretty up

Affected files ...

.. //depot/projects/arm/src/sys/dev/iicbus/iic.c#8 edit

Differences ...

==== //depot/projects/arm/src/sys/dev/iicbus/iic.c#8 (text+ko) ====

@@ -315,10 +315,10 @@
 		usrbufs = malloc(sizeof(void *) * d->nmsgs, M_TEMP, M_ZERO | M_WAITOK);
 		error = copyin(d->msgs, buf, sizeof(*d->msgs) * d->nmsgs);
 		if (error) {
-			printf("copying returns %d\n", error);
+			printf("copyin msgs returns %d\n", error);
 			break;
 		}
-		/* Allocate kernel buffers for userland data, copyin write data */
+		/* Alloc kernel buffers for userland data, copyin write data */
 		for (i = 0; i < d->nmsgs; i++) {
 			m = &((struct iic_msg *)buf)[i];
 			usrbufs[i] = m->buf;
@@ -327,7 +327,6 @@
 				copyin(usrbufs[i], m->buf, m->len);
 		}
 		error = iicbus_transfer(parent, (struct iic_msg *)buf, d->nmsgs);
-		printf("transfer returns %d\n", error);
 		/* Copyout all read segments, free up kernel buffers */
 		for (i = 0; i < d->nmsgs; i++) {
 			m = &((struct iic_msg *)buf)[i];


More information about the p4-projects mailing list