Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-30 Thread Jerry Snitselaar
On Thu Apr 30 20, Ard Biesheuvel wrote: On Thu, 30 Apr 2020 at 23:21, Arnd Bergmann wrote: On Thu, Apr 30, 2020 at 11:15 PM Jerry Snitselaar wrote: > > On Wed Apr 29 20, Arnd Bergmann wrote: > >Building with gcc-10 causes a harmless warning about a section mismatch: > > > >WARNING: modpost:

Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-30 Thread Ard Biesheuvel
On Thu, 30 Apr 2020 at 23:21, Arnd Bergmann wrote: > > On Thu, Apr 30, 2020 at 11:15 PM Jerry Snitselaar wrote: > > > > On Wed Apr 29 20, Arnd Bergmann wrote: > > >Building with gcc-10 causes a harmless warning about a section mismatch: > > > > > >WARNING: modpost:

Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-30 Thread Arnd Bergmann
On Thu, Apr 30, 2020 at 11:15 PM Jerry Snitselaar wrote: > > On Wed Apr 29 20, Arnd Bergmann wrote: > >Building with gcc-10 causes a harmless warning about a section mismatch: > > > >WARNING: modpost: vmlinux.o(.text.unlikely+0x5e191): Section mismatch in > >reference from the function

Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-30 Thread Jerry Snitselaar
On Wed Apr 29 20, Arnd Bergmann wrote: Building with gcc-10 causes a harmless warning about a section mismatch: WARNING: modpost: vmlinux.o(.text.unlikely+0x5e191): Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memunmap() The

Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-29 Thread Jarkko Sakkinen
On Wed, Apr 29, 2020 at 09:01:08PM +0200, Arnd Bergmann wrote: > Building with gcc-10 causes a harmless warning about a section mismatch: > > WARNING: modpost: vmlinux.o(.text.unlikely+0x5e191): Section mismatch in > reference from the function tpm2_calc_event_log_size() to the function >

Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-29 Thread Ard Biesheuvel
On Wed, 29 Apr 2020 at 21:02, Arnd Bergmann wrote: > > Building with gcc-10 causes a harmless warning about a section mismatch: > > WARNING: modpost: vmlinux.o(.text.unlikely+0x5e191): Section mismatch in > reference from the function tpm2_calc_event_log_size() to the function >

Re: [PATCH] efi/tpm: fix section mismatch warning

2020-04-29 Thread Jason Gunthorpe
On Wed, Apr 29, 2020 at 09:01:08PM +0200, Arnd Bergmann wrote: > Building with gcc-10 causes a harmless warning about a section mismatch: > > WARNING: modpost: vmlinux.o(.text.unlikely+0x5e191): Section mismatch in > reference from the function tpm2_calc_event_log_size() to the function >

[PATCH] efi/tpm: fix section mismatch warning

2020-04-29 Thread Arnd Bergmann
Building with gcc-10 causes a harmless warning about a section mismatch: WARNING: modpost: vmlinux.o(.text.unlikely+0x5e191): Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memunmap() The function tpm2_calc_event_log_size() references