From: Kim Phillips Date: Fri, 12 Mar 2010 14:58:12 -0600 Subject: [U-Boot] [RFC 2/2 v2] command: Remove maxargs from command structure In-Reply-To: References: Message-ID: <20100312145812.a8b4bb7a.kim.phillips@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 12 Mar 2010 13:25:31 -0600 John Schmoller wrote: > +/* > + * Command Errors: > + */ > +#define CMD_ERR_USAGE 256 > + can we just use something like -EINVAL instead of reinventing the error codes wheel? Thanks, Kim