All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Dyer <amdyer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [patch] fix ext2load failing on devices other than 0
Date: Mon, 28 Feb 2005 19:27:51 -0600	[thread overview]
Message-ID: <c166aa9f0502281727ede4eb@mail.gmail.com> (raw)

CHANGELOG:
* Patch by Andrew Dyer, 28 February 2005:
fix where ext2load command passed incorrect pointer to
get_partition_info() resulting in load failure for devices other
than 0

-- 
Hardware, n.:
        The parts of a computer system that can be kicked.
-------------- next part --------------
Index: common/cmd_ext2.c
===================================================================
RCS file: /cvsroot/u-boot/u-boot/common/cmd_ext2.c,v
retrieving revision 1.2
diff -p -u -r1.2 cmd_ext2.c
--- common/cmd_ext2.c	4 Feb 2005 15:02:08 -0000	1.2
+++ common/cmd_ext2.c	1 Mar 2005 01:19:14 -0000
@@ -223,7 +223,7 @@ int do_ext2load (cmd_tbl_t *cmdtp, int f
 	PRINTF("Using device %s%d, partition %d\n", argv[1], dev, part);
 
 	if (part != 0) {
-		if (get_partition_info (&dev_desc[dev], part, &info)) {
+		if (get_partition_info (dev_desc, part, &info)) {
 			printf ("** Bad partition %d **\n", part);
 			return(1);
 		}

             reply	other threads:[~2005-03-01  1:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01  1:27 Andrew Dyer [this message]
2005-03-01  2:04 ` [U-Boot-Users] [patch] fix ext2load failing on devices other than 0 Reinhard Arlt
2005-03-01 16:09   ` Wolfgang Denk
2005-03-01 15:46 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c166aa9f0502281727ede4eb@mail.gmail.com \
    --to=amdyer@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.