Mikulas Patocka <[email protected]> writes: > copy = min(bytes, iov->iov_len - skip); > > +#ifdef CONFIG_HIGHMEM > if (!fault_in_pages_writeable(buf, copy)) {
If you use IS_ENABLED in the if here ... > kunmap(page); > + > +#ifdef CONFIG_HIGHMEM > done: > +#endif ... you don't need this ifdef. -Andi -- [email protected] -- Speaking for myself only

