On Thu, 2015-02-19 at 15:42 -0600, James Minor wrote:
> +#define CHECK_BUF_FULL(p, c, e) \
> + do { \
> + if (unlikely(p == c)) \
> + e = -E2BIG; \
> + } while (0)I think this would be nicer as a static inline that returned -E2BIG, or the passed in err, instead of modifying the macro argument. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
