Harshit Mogalapalli e03d4910e6 VMCI: Use struct_size() in kmalloc()
Use struct_size() instead of open coding.

Suggested-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Link: https://lore.kernel.org/r/20240105164001.2129796-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Kees Cook <keescook@chromium.org>
2024-02-01 10:06:42 -08:00
..
2023-12-08 12:02:37 +01:00
2023-12-15 17:02:15 +01:00
2024-01-08 16:22:47 -08:00
2023-11-01 20:51:41 -10:00
2023-10-27 08:51:00 +02:00
2021-10-05 15:47:18 +02:00
2023-11-28 19:05:16 +00:00
2023-11-28 19:05:16 +00:00
2024-01-15 12:10:41 -06:00
2022-12-15 10:37:26 -08:00