Files
android_kernel_xiaomi_sm8450/arch/x86/kernel
Gustavo A. R. Silva 5ba7821bcf x86/mce/dev-mcelog: Use struct_size() helper in kzalloc()
Make use of the struct_size() helper instead of an open-coded version
in order to avoid any potential type mistakes.

This code was detected with the help of Coccinelle and, audited and
fixed manually.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Tony Luck <tony.luck@intel.com>
Link: https://lkml.kernel.org/r/20200617211734.GA9636@embeddedor
2020-06-18 13:24:23 +02:00
..
2020-06-11 15:14:54 +02:00
2020-06-11 15:15:23 +02:00
2020-01-09 14:40:03 +01:00
2020-06-11 15:15:23 +02:00
2020-06-11 20:02:46 +02:00
2020-06-11 15:15:26 +02:00
2019-11-12 16:21:15 +01:00
2019-11-12 16:21:15 +01:00
2020-06-12 14:15:48 +02:00
2019-06-24 19:19:24 +02:00
2020-06-02 10:59:12 -07:00
2020-03-21 16:03:25 +01:00
2020-02-16 20:58:06 +01:00
2020-04-15 11:13:12 +02:00