Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix error: label at end of compound statement #1

Open
wants to merge 1 commit into
base: r4x/rebase_ro
Choose a base branch
from

Conversation

umeiko
Copy link

@umeiko umeiko commented Dec 11, 2023

My envirment: Ubuntu 20.04, gcc-arm-none-eabi: 15:9-2019-q4-0ubuntu1
When I tried to compile lk2nd with make TOOLCHAIN_PREFIX=arm-none-eabi- lk2nd-msm8952, meet error :

  lk2nd/boot/extlinux.c: In function 'parse_conf':
  lk2nd/boot/extlinux.c:224:4: error: label at end of compound statement
    224 |    default:
        |    ^~~~~~~
  make[1]: *** [arch/arm/compile.mk:5: build-lk2nd-msm8952/lk2nd/boot/extlinux.o] Error 1

I fixed this by added break after default case.

@Danct12
Copy link

Danct12 commented Dec 14, 2023

CC: @TravMurav

@TravMurav
Copy link

Queued that as a fixup, will be squashed in later. Thanks!

msm8916-mainline@aaa9efa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants