On Tue, Mar 02, 2021 at 02:32:21PM +0800, Yang Li wrote:
> Replace opencoded alloc and copy with vmemdup_user()
>
> fixed the following coccicheck:
> ./fs/xattr.c:561:11-19: WARNING opportunity for vmemdup_user
>
> Reported-by: Abaci Robot
> Signed-off-by: Yang Li
Reviewed-by: Matthew Wilcox (
Replace opencoded alloc and copy with vmemdup_user()
fixed the following coccicheck:
./fs/xattr.c:561:11-19: WARNING opportunity for vmemdup_user
Reported-by: Abaci Robot
Signed-off-by: Yang Li
---
fs/xattr.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/fs/xattr
2 matches
Mail list logo