]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc44a169a417967d1b02d297c9eb77c0f23166423
tree565d8b0dd5f3657b2856896707c69ddf2c3485bb
parent656b995dc435f0f4d8a5b7cdb1d0bd4364298442
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