efi_loader: add some missing breaks
authorRob Clark <robdclark@gmail.com>
Thu, 27 Jul 2017 15:28:33 +0000 (11:28 -0400)
committerAlexander Graf <agraf@suse.de>
Fri, 28 Jul 2017 07:13:17 +0000 (09:13 +0200)
Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_device_path_to_text.c

index 612e380..4b2f43f 100644 (file)
@@ -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;
        }
 
        /*