leds: Use struct_size() in allocation
This case got missed by the earlier treewide struct_size() conversions.
Signed-off-by: NKees Cook <keescook@chromium.org>
Showing
想要评论请 注册 或 登录
This case got missed by the earlier treewide struct_size() conversions.
Signed-off-by: NKees Cook <keescook@chromium.org>