projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce892c
)
disk/part_dos.c: Fix a variable typo in write_mbr_partitions()
author
Christian Melki
<christian.melki@t2data.com>
Mon, 7 Jun 2021 09:21:15 +0000
(11:21 +0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 22 Jun 2021 17:58:08 +0000
(13:58 -0400)
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>
disk/part_dos.c
patch
|
blob
|
history
diff --git
a/disk/part_dos.c
b/disk/part_dos.c
index 60addc6e00d43f473c91cbad5d289bae768f6f3a..9e29aa6583a93f938dc4d89cbdb9bb84ad115114 100644
(file)
--- 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;
}