If tensor_set_bits_atomic() is called with a mask of 0 the function will
just iterate over its bit, not perform any updates and return stack
value of 'ret'.
Also reported by smatch:
drivers/soc/samsung/exynos-pmu.c:129 tensor_set_bits_atomic() error: uninitialized symbol 'ret'.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| exynos-asv.c | ||
| exynos-asv.h | ||
| exynos-chipid.c | ||
| exynos-pmu.c | ||
| exynos-pmu.h | ||
| exynos-regulator-coupler.c | ||
| exynos-usi.c | ||
| exynos4-pmu.c | ||
| exynos3250-pmu.c | ||
| exynos5250-pmu.c | ||
| exynos5420-pmu.c | ||
| exynos5422-asv.c | ||
| exynos5422-asv.h | ||
| s3c-pm-check.c | ||