mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 13:51:44 +00:00
6ebf75774f
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 |