From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Li Subject: Re: [PATCH v2] implement constant-folding in __builtin_bswap*() Date: Wed, 23 Nov 2016 22:30:35 +0800 Message-ID: References: <20161117095503.8754-1-johannes@sipsolutions.net> <1479721551.8662.10.camel@sipsolutions.net> <20161122131543.GA8370@macbook.local> <1479882507.4432.1.camel@sipsolutions.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f51.google.com ([209.85.218.51]:34958 "EHLO mail-oi0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936436AbcKWOaq (ORCPT ); Wed, 23 Nov 2016 09:30:46 -0500 Received: by mail-oi0-f51.google.com with SMTP id b126so16025952oia.2 for ; Wed, 23 Nov 2016 06:30:41 -0800 (PST) In-Reply-To: <1479882507.4432.1.camel@sipsolutions.net> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: Johannes Berg Cc: Luc Van Oostenryck , Linux-Sparse , Nicolai Stange On Wed, Nov 23, 2016 at 2:28 PM, Johannes Berg wrote: > > Just a small comment: > >> + if (expression_list_size(args) != 1) { >> + sparse_error(expr->pos, "not enough arguments for function %s", >> + show_ident(sym->ident)); > > Should that say "invalid number of arguments (expected 1)" or so? > Right, that is better. Chris