Re: 5.3 boot regression caused by 5.3 TPM changes

2019-08-05 Thread Ard Biesheuvel
On Sun, 4 Aug 2019 at 19:12, Hans de Goede wrote: > > Hi, > > On 04-08-19 17:33, Ard Biesheuvel wrote: > > Hi Hans, > > > > On Sun, 4 Aug 2019 at 13:00, Hans de Goede wrote: > >> > >> Hi All, > >> > >> While testing 5.3-rc2 on an Irbis TW90 Intel Cherry Trail based > >> tablet I noticed that it

Re: [PATCH] arm64/efi: fix variable 'si' set but not used

2019-08-05 Thread Dave Martin
On Tue, Jul 30, 2019 at 05:23:48PM -0400, Qian Cai wrote: > GCC throws out this warning on arm64. > > drivers/firmware/efi/libstub/arm-stub.c: In function 'efi_entry': > drivers/firmware/efi/libstub/arm-stub.c:132:22: warning: variable 'si' > set but not used [-Wunused-but-set-variable] > > Fix

[PATCH 2/2] ia64: Replace strncmp with str_has_prefix

2019-08-05 Thread Chuhong Yuan
strncmp(str, const, len) is error-prone since the len is easy to be wrong because of counting error or sizeof(const) without - 1. Use the newly introduced str_has_prefix() to substitute it to make code better. Signed-off-by: Chuhong Yuan --- arch/ia64/kernel/acpi.c | 9 -