Re: [PATCH v1] mseal: move can_do_mseal to mseal.c

2024-12-05 Thread Liam R. Howlett
* jef...@chromium.org [241205 20:39]: > From: Jeff Xu > > No code logic change. > > can_do_mseal is called exclusively by mseal.c, > and mseal.c is compiled only when CONFIG_64BIT flag is > set in makefile. Therefore, it is unnecessary to have > 32 bit stub function in the header file. There i

[PATCH v1] mseal: move can_do_mseal to mseal.c

2024-12-05 Thread jeffxu
From: Jeff Xu No code logic change. can_do_mseal is called exclusively by mseal.c, and mseal.c is compiled only when CONFIG_64BIT flag is set in makefile. Therefore, it is unnecessary to have 32 bit stub function in the header file. Signed-off-by: Jeff Xu --- mm/internal.h | 16 --

Re: [PATCH v2 1/2][next] UAPI: ethtool: Use __struct_group() in struct ethtool_link_settings

2024-12-05 Thread Nick Desaulniers
On Fri, Nov 15, 2024 at 12:38:55PM -0800, Kees Cook wrote: > On Tue, Nov 12, 2024 at 07:08:32PM -0600, Gustavo A. R. Silva wrote: > > > > > > On 11/11/24 16:22, Gustavo A. R. Silva wrote: > > > > > > > > > On 09/11/24 12:02, Jakub Kicinski wrote: > > > > On Tue, 29 Oct 2024 15:55:35 -0600 Gusta

Re: [PATCH] drivers: gpio: gpio-ljca: Initialize num before accessing item in ljca_gpio_config

2024-12-05 Thread Bartosz Golaszewski
From: Bartosz Golaszewski On Tue, 03 Dec 2024 22:14:51 +0800, Haoyu Li wrote: > With the new __counted_by annocation in ljca_gpio_packet, the "num" > struct member must be set before accessing the "item" array. Failing to > do so will trigger a runtime warning when enabling CONFIG_UBSAN_BOUNDS >