drm/udl: make control msg static const. (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 8 Nov 2016 06:38:00 +0000 (16:38 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 10 Nov 2016 22:57:34 +0000 (08:57 +1000)
commite5581fe2b4f40e54bfea9a1eee1bc487da52e98c
tree565d8b0dd5f3657b2856896707c69ddf2c3485bb
parent24f910365e84342365a46e5c07d3ac02757c94a1
drm/udl: make control msg static const. (v2)

Thou shall not send control msg from the stack,
does that mean I can send it from the RO memory area?

and it looks like the answer is no, so here's
v2 which kmemdups.

Reported-by: poma
Tested-by: poma <poma@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/udl/udl_main.c