Re: [PATCH] LSM: Fix type of id parameter in kernel_post_load_data prototype

2020-10-07 Thread Kees Cook
On Tue, Oct 06, 2020 at 01:11:15PM -0700, Nathan Chancellor wrote: > Clang warns: > > security/security.c:1716:59: warning: implicit conversion from > enumeration type 'enum kernel_load_data_id' to different enumeration > type 'enum kernel_read_file_id' [-Wenum-conversion] > ret =

[PATCH] LSM: Fix type of id parameter in kernel_post_load_data prototype

2020-10-06 Thread Nathan Chancellor
Clang warns: security/security.c:1716:59: warning: implicit conversion from enumeration type 'enum kernel_load_data_id' to different enumeration type 'enum kernel_read_file_id' [-Wenum-conversion] ret = call_int_hook(kernel_post_load_data, 0, buf, size, id,