On Tue, Dec 14, 2021 at 07:48:54PM +0800, Xiu Jianfeng wrote:
Make use of struct_size() helper instead of an open-coded
calucation.
Link:
https://github.com/KSPP/linux/issues/160
Signed-off-by: Xiu Jianfeng <xiujianfeng(a)huawei.com>
Reviewed-by: Kees Cook <keescook(a)chromium.org>
--
Kees Cook