Skip to content

Commit

Permalink
V4L/DVB (7364): reduce stack usage of v4l_compat_translate_ioctl
Browse files Browse the repository at this point in the history
v4l_compat_translate_ioctl used 1376 bytes of stack (x86_64),
so split this 800 lines long function into ~20 small noinline functions;
the biggest function takes now 712 bytes (v4l1_compat_sync)

fix VIDIOCSWIN handler which printked wrong errors

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Marcin Slusarz authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 8b3b90a commit b524f7b
Showing 1 changed file with 938 additions and 743 deletions.
Loading

0 comments on commit b524f7b

Please sign in to comment.