[U-Boot-Users] [patch] fix ext2load failing on devices other than 0

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

Hello,
then the same bug may also be in "cmd_reiser.c".
Reinhard
Andrew Dyer wrote:
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
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);

In message 4223CD9B.3020203@t-online.de you wrote:
then the same bug may also be in "cmd_reiser.c".
Indeed. And in some other files, too. Fixed.
Thanks for pointing out.
Best regards,
Wolfgang Denk

In message c166aa9f0502281727ede4eb@mail.gmail.com you wrote:
- 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
Thanks for pointing out - checked in.
Best regards,
Wolfgang Denk
participants (3)
-
Andrew Dyer
-
Reinhard Arlt
-
Wolfgang Denk