Re: bktr uiomove() conversion

2016-02-07 Thread Stefan Kempf
Martin Natano wrote: > Below the conversion from uiomovei() to uiomove() for bktr. The patch > also replaces two occurrences of uio->uio_iov->iov_len with > uio->uio_resid. I don't see a reason why bktr should inspect iov_len > directly. Looks good. As for computing count, we have 0 <= bktr->rows

bktr uiomove() conversion

2016-01-24 Thread Martin Natano
Below the conversion from uiomovei() to uiomove() for bktr. The patch also replaces two occurrences of uio->uio_iov->iov_len with uio->uio_resid. I don't see a reason why bktr should inspect iov_len directly. Index: dev/pci/bktr/bktr_core.c