]> 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)
commitc6c83afcbc027ffe979690dd2b390ea1e5d076db
tree565d8b0dd5f3657b2856896707c69ddf2c3485bb
parent135aab6a80c312e13eb27d8e876c846a2e0ea9f3
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