mirror of https://github.com/torvalds/linux.git
The pixel_array control size was calculated incorrectly:
the dimensions were swapped (dims[0] should be the height), and the
values should be the width or height divided by PIXEL_ARRAY_DIV
and rounded up. So don't use roundup, but use DIV_ROUND_UP instead.
This bug is harmless in the sense that nothing will break, except that
it consumes way too much memory for this control.
Fixes:
|
||
|---|---|---|
| .. | ||
| vicodec | ||
| vidtv | ||
| vimc | ||
| visl | ||
| vivid | ||
| Kconfig | ||
| Makefile | ||
| vim2m.c | ||