Re: [PATCH] selinux: fix memdup.cocci warnings
From: Stephen Smalley
Date: Thu Aug 20 2020 - 08:12:45 EST
On Thu, Aug 20, 2020 at 6:20 AM Julia Lawall <julia.lawall@xxxxxxxx> wrote:
>
> From: kernel test robot <lkp@xxxxxxxxx>
>
> Use kmemdup rather than duplicating its implementation
>
> Generated by: scripts/coccinelle/api/memdup.cocci
>
> Fixes: c7c556f1e81b ("selinux: refactor changing booleans")
> CC: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>
> Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Julia Lawall <julia.lawall@xxxxxxxx>
Acked-by: Stephen Smalley <stephen.smalley.work@xxxxxxxxx>