From: Wolfgang Denk Date: Tue, 12 Oct 2010 23:31:21 +0200 Subject: [U-Boot] [PATCH] TSI148: Fix argument parsing In-Reply-To: <1285786217-5347-1-git-send-email-ptyser@xes-inc.com> References: <1285786217-5347-1-git-send-email-ptyser@xes-inc.com> Message-ID: <20101012213121.E724514F310@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter Tyser, In message <1285786217-5347-1-git-send-email-ptyser@xes-inc.com> you wrote: > From: Brent Darley > > This patch does 2 things: > - Fix the argument number assigned to the vdw (VME data width) value. > Previously, a nonexistent 7th arument was read as the vdw variable. > > - Reduce the size of the argument array for the tsi148 command from > 8 to 7. The tsi148 command itself is argument index 0, and the > maximum number arguments passed to the command is 6, making a total > of 7 for the array. > > Signed-off-by: Brent Darley > Signed-off-by: Peter Tyser > --- > common/cmd_tsi148.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de How many Unix hacks does it take to change a light bulb? Let's see, can you use a shell script for that or does it need a C program?