Skip to content
Commit bbdca2d4 authored by Qing Wang's avatar Qing Wang Committed by Thierry Reding
Browse files

drm/tegra: Switch over to vmemdup_user()



This patch fixes the following Coccinelle warning:

drivers/gpu/drm/tegra/submit.c:173: WARNING opportunity for vmemdup_user

Use vmemdup_user() rather than duplicating its implementation.
This is a little bit restricted to reduce false positives.

Signed-off-by: default avatarQing Wang <wangqing@vivo.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 8935002f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment