[PATCH -next, v3 1/2] audit: use struct_size() helper in audit_[send|make]_reply()

Paul Moore paul at paul-moore.com
Mon Dec 20 19:52:22 UTC 2021


On Thu, Dec 16, 2021 at 8:01 PM Xiu Jianfeng <xiujianfeng at huawei.com> wrote:
>
> Make use of struct_size() helper instead of an open-coded calculation.
>
> Link: https://github.com/KSPP/linux/issues/160
> Signed-off-by: Xiu Jianfeng <xiujianfeng at huawei.com>
> ---
>  kernel/audit.c       | 2 +-
>  kernel/auditfilter.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Merged into audit/next, thanks!

-- 
paul moore
www.paul-moore.com




More information about the Linux-audit mailing list