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 <abaci@xxxxxxxxxxxxxxxxx> > Signed-off-by: Yang Li <yang.lee@xxxxxxxxxxxxxxxxx> Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>