[PATCH] disk/part_dos.c: Fix what looks like a variable typo in the write functionality.

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

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!
participants (2)
-
Christian Melki
-
Tom Rini