Re: [PATCH] selinux: fix memdup.cocci warnings

From: Paul Moore
Date: Thu Aug 20 2020 - 09:28:53 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>

Merged into selinux/next, thanks!