mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-19 04:20:48 +00:00
In vpfe_s_fmt(), when the sensor format and the requested format were
the same, bpp was assigned to vpfe->bpp without being initialized first.
Grab the bpp value that is currently used by using __vpfe_get_format()
instead of its wrapper, vpfe_try_fmt().
This use of uninitialized variable has been found by compiling the
kernel with clang.
Fixes:
|
||
|---|---|---|
| .. | ||
| am437x-vpfe_regs.h | ||
| am437x-vpfe.c | ||
| am437x-vpfe.h | ||
| Kconfig | ||
| Makefile | ||