Re: [4.12.0-rc0]: compile error in initramfs.c

From: Linus Torvalds
Date: Sat May 06 2017 - 13:27:38 EST


On Sat, May 6, 2017 at 8:40 AM, JÃrg Otte <jrg.otte@xxxxxxxxx> wrote:
> In kernel 4.11.0-10502-g3ef2bc0 I get following compile error:
>
> /kernel/linux/init/initramfs.c: In function 'populate_rootfs':
> /kernel/linux/init/initramfs.c:644:2: error: label at end of compound statement
> done:

Ok,need to add an empty statement there.

I wonder why I didn't see that warning.

.. oh, it's because even my allmodconfig build just ends up having

CONFIG_BLK_DEV_RAM=m

rather than the built-in case.

Will fix.

Linus