On Thu, Nov 24, 2016 at 08:58:35AM +0800, Christopher Li wrote: > +/* The arguments are constant if the cost of all of them is zero */ > +int expand_bswap(struct expression *expr, int cost) > +{ > + struct symbol *sym; > + struct expression_list *args = expr->args; > + long long input; > + int count; > + > + if (cost) > + return cost; > + > + sym = expr->fn->ctype; > + count = expression_list_size(args); > + if (count != 1) { > + sparse_error(expr->pos, "Invaild number of arguments for function %s (expected 1 got %d)", Small typo here: "Invaild" -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html