diff options
Diffstat (limited to 'boot')
-rw-r--r-- | boot/android_ab.c | 1 | ||||
-rw-r--r-- | boot/pxe_utils.c | 4 | ||||
-rw-r--r-- | boot/scene_menu.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/boot/android_ab.c b/boot/android_ab.c index 73b55c1..0f20a34 100644 --- a/boot/android_ab.c +++ b/boot/android_ab.c @@ -12,7 +12,6 @@ #include <memalign.h> #include <linux/err.h> #include <u-boot/crc.h> -#include <u-boot/crc.h> /** * Compute the CRC-32 of the bootloader control struct. diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c index d13c47d..ac1414a 100644 --- a/boot/pxe_utils.c +++ b/boot/pxe_utils.c @@ -702,8 +702,8 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label) } } - if (label->kaslrseed) - label_boot_kaslrseed(); + if (label->kaslrseed) + label_boot_kaslrseed(); #ifdef CONFIG_OF_LIBFDT_OVERLAY if (label->fdtoverlays) diff --git a/boot/scene_menu.c b/boot/scene_menu.c index 8a355f8..57ffb52 100644 --- a/boot/scene_menu.c +++ b/boot/scene_menu.c @@ -416,7 +416,7 @@ int scene_menuitem(struct scene *scn, uint menu_id, const char *name, uint id, if (!scene_obj_find(scn, label_id, SCENEOBJT_TEXT)) return log_msg_ret("txt", -EINVAL); - item = calloc(1, sizeof(struct scene_obj_menu)); + item = calloc(1, sizeof(struct scene_menitem)); if (!item) return log_msg_ret("item", -ENOMEM); item->name = strdup(name); |