mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 18:20:25 +02:00
When the OSD is on (i.e. vivid displays text on top of the test pattern), and
you enable hflip, then the driver crashes.
The cause turned out to be a division of a negative number by an unsigned value.
You expect that -8 / 2U would be -4, but in reality it is 2147483644 :-(
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| v4l2-tpg-colors.c | ||
| v4l2-tpg-core.c | ||