Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH v3 2/2] iov_iter: Don't deal with iter->copy_mc in memcpy_from_iter_mc() | Date | Fri, 18 Aug 2023 12:42:32 +0100 |
| |
Linus Torvalds <torvalds@linux-foundation.org> wrote:
> Well, that part is trivially fixable, and we should do that anyway for > other reasons. > .. > enum iter_type { > /* iter types */ > - ITER_IOVEC, > - ITER_KVEC, > - ITER_BVEC, > - ITER_XARRAY, > - ITER_DISCARD, > - ITER_UBUF, > + ITER_IOVEC = 1, > + ITER_UBUF = 2, > + ITER_KVEC = 4, > + ITER_BVEC = 8, > + ITER_XARRAY = 16, > + ITER_DISCARD = 32, > };
It used to be this way, but Al switched it:
8cd54c1c848031a87820e58d772166ffdf8c08c0 iov_iter: separate direction from flavour
David
| |