On Tue, Mar 17, 2015 at 02:04:02PM -0700, Omar Sandoval wrote: > /* > + * Get one of READ or WRITE out of iter->type without any other flags OR'd in > + * with it. > + * > + * The ?: is just for type safety. > + */ > +#define iov_iter_rw(i) ((0 ? (struct iov_iter *)0 : (i))->type & RW_MASK)
I'm fine with that, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

