aboutsummaryrefslogtreecommitdiff
path: root/lib/efi_loader
diff options
context:
space:
mode:
authorRob Clark2017-07-27 11:28:33 -0400
committerAlexander Graf2017-07-28 09:13:17 +0200
commit6cfd5f133ac11becc0dd2c9b93e275af45ea384f (patch)
tree9b5624bbf00c44c863d87c0f1d5b3e42255d547b /lib/efi_loader
parenta1b24823b6c22ede11d311b05ea862965ea86b0b (diff)
efi_loader: add some missing breaks
Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/efi_loader')
-rw-r--r--lib/efi_loader/efi_device_path_to_text.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_device_path_to_text.c b/lib/efi_loader/efi_device_path_to_text.c
index 612e3806179..4b2f43f0c8a 100644
--- a/lib/efi_loader/efi_device_path_to_text.c
+++ b/lib/efi_loader/efi_device_path_to_text.c
@@ -52,6 +52,7 @@ static uint16_t *efi_convert_device_node_to_text(
break;
}
}
+ break;
case DEVICE_PATH_TYPE_MEDIA_DEVICE:
switch (device_node->sub_type) {
case DEVICE_PATH_SUB_TYPE_FILE_PATH:
@@ -63,6 +64,7 @@ static uint16_t *efi_convert_device_node_to_text(
memcpy(buffer, device_node->data, buffer_size);
break;
}
+ break;
}
/*