projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
984f251
)
efi_loader: don't increment part twice per loop
author
Jonathan Gray
<jsg@jsg.id.au>
Tue, 10 Oct 2017 10:32:29 +0000
(21:32 +1100)
committer
Alexander Graf
<agraf@suse.de>
Tue, 10 Oct 2017 16:14:05 +0000
(18:14 +0200)
Correct a mistake in the part number handling of commit
16a73b249d138fedeb188710533902ed7aac1ddc
and only increment part once
per loop.
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_disk.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_disk.c
b/lib/efi_loader/efi_disk.c
index 6b192701a8a2a460326369cf7d95c3a34d246261..e61dbc80580b61ae6e0351be68d77fd8eeca0eeb 100644
(file)
--- a/
lib/efi_loader/efi_disk.c
+++ b/
lib/efi_loader/efi_disk.c
@@
-360,7
+360,6
@@
int efi_disk_register(void)
continue;
efi_disk_add_dev(devname, if_typename, desc,
i, 0, part);
- part++;
}
/* ... and add block device: */