PERFORCE change 110645 for review
Warner Losh
imp at FreeBSD.org
Tue Nov 28 16:14:02 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=110645
Change 110645 by imp at imp_lighthouse on 2006/11/29 00:13:50
EOF write correctly.
Affected files ...
.. //depot/projects/arm/src/sys/dev/iicbus/icee.c#6 edit
Differences ...
==== //depot/projects/arm/src/sys/dev/iicbus/icee.c#6 (text+ko) ====
@@ -220,9 +220,7 @@
};
sc = CDEV2SOFTC(dev);
- if (uio->uio_offset == sc->size)
- return (0);
- if (uio->uio_offset > sc->size)
+ if (uio->uio_offset >= sc->size)
return (EIO);
if (sc->type != 8 && sc->type != 16)
return (EINVAL);
More information about the p4-projects
mailing list