All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] disk/part_dos.c: Fix what looks like a variable typo in the write functionality.
@ 2021-06-07  9:21 Christian Melki
  2021-06-24 13:16 ` [PATCH] disk/part_dos.c: Fix a variable typo in write_mbr_partitions() Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2021-06-07  9:21 UTC (permalink / raw)
  To: u-boot; +Cc: christian.melki

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 disk/part_dos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/disk/part_dos.c b/disk/part_dos.c
index 60addc6e00..9e29aa6583 100644
--- a/disk/part_dos.c
+++ b/disk/part_dos.c
@@ -424,7 +424,7 @@ int write_mbr_partitions(struct blk_desc *dev,
 	}
 
 	/* Update the partition table entries*/
-	part_init(dev_desc);
+	part_init(dev);
 
 	return 0;
 }
-- 
2.31.1


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

* Re: [PATCH] disk/part_dos.c: Fix a variable typo in write_mbr_partitions()
  2021-06-07  9:21 [PATCH] disk/part_dos.c: Fix what looks like a variable typo in the write functionality Christian Melki
@ 2021-06-24 13:16 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-06-24 13:16 UTC (permalink / raw)
  To: Christian Melki; +Cc: u-boot

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

On Mon, Jun 07, 2021 at 11:21:15AM +0200, Christian Melki wrote:

> This function is passed *dev not *dev_desc, so pass the right name to
> part_init().
> 
> Fixes: f14c5ee5ab8b ("disk: part_dos: update partition table entries after write")
> Signed-off-by: Christian Melki <christian.melki@t2data.com>

With the above reworded commit message, applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2021-06-24 13:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-07  9:21 [PATCH] disk/part_dos.c: Fix what looks like a variable typo in the write functionality Christian Melki
2021-06-24 13:16 ` [PATCH] disk/part_dos.c: Fix a variable typo in write_mbr_partitions() Tom Rini

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.