Re: [Xen-devel] [PATCH] xen/efi: Fix build with clang-5.0

2017-12-14 Thread Jan Beulich
>>> On 13.12.17 at 22:51, wrote: > On Wed, 13 Dec 2017, Andrew Cooper wrote: >> The clang-5.0 build is reliably failing with: >> >> Error: size of boot.o:.text is 0x01 >> >> which is because efi_arch_flush_dcache_area() exists as a single ret >> instruction. Mark it as __init like everything

Re: [Xen-devel] [PATCH] xen/efi: Fix build with clang-5.0

2017-12-13 Thread Stefano Stabellini
On Wed, 13 Dec 2017, Andrew Cooper wrote: > The clang-5.0 build is reliably failing with: > > Error: size of boot.o:.text is 0x01 > > which is because efi_arch_flush_dcache_area() exists as a single ret > instruction. Mark it as __init like everything else in the files. > > Spotted by Travis.

[Xen-devel] [PATCH] xen/efi: Fix build with clang-5.0

2017-12-13 Thread Andrew Cooper
The clang-5.0 build is reliably failing with: Error: size of boot.o:.text is 0x01 which is because efi_arch_flush_dcache_area() exists as a single ret instruction. Mark it as __init like everything else in the files. Spotted by Travis. Signed-off-by: Andrew Cooper --- CC: Jan Beulich CC: S