All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] [patch] fix ext2load failing on devices other than 0
@ 2005-03-01  1:27 Andrew Dyer
  2005-03-01  2:04 ` Reinhard Arlt
  2005-03-01 15:46 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Dyer @ 2005-03-01  1:27 UTC (permalink / raw)
  To: u-boot

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);
 		}

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] [patch] fix ext2load failing on devices other than 0
  2005-03-01  1:27 [U-Boot-Users] [patch] fix ext2load failing on devices other than 0 Andrew Dyer
@ 2005-03-01  2:04 ` Reinhard Arlt
  2005-03-01 16:09   ` Wolfgang Denk
  2005-03-01 15:46 ` Wolfgang Denk
  1 sibling, 1 reply; 4+ messages in thread
From: Reinhard Arlt @ 2005-03-01  2:04 UTC (permalink / raw)
  To: u-boot

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);
>  		}
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] [patch] fix ext2load failing on devices other than 0
  2005-03-01  1:27 [U-Boot-Users] [patch] fix ext2load failing on devices other than 0 Andrew Dyer
  2005-03-01  2:04 ` Reinhard Arlt
@ 2005-03-01 15:46 ` Wolfgang Denk
  1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-03-01 15:46 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Get back to your stations!"
"We're beaming down to the planet, sir."
	-- Kirk and Mr. Leslie, "This Side of Paradise",
	   stardate 3417.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] [patch] fix ext2load failing on devices other than 0
  2005-03-01  2:04 ` Reinhard Arlt
@ 2005-03-01 16:09   ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-03-01 16:09 UTC (permalink / raw)
  To: u-boot

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

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Severe culture shock results when experts from another protocol suite
[...] try to read OSI documents. The term "osified" is used to  refer
to  such  documents. [...] Any relationship to the word "ossified" is
purely intentional.                                - Marshall T. Rose

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-03-01 16:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-01  1:27 [U-Boot-Users] [patch] fix ext2load failing on devices other than 0 Andrew Dyer
2005-03-01  2:04 ` Reinhard Arlt
2005-03-01 16:09   ` Wolfgang Denk
2005-03-01 15:46 ` Wolfgang Denk

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.