mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
Add suffix ULL to constant 1000 in order to avoid a potential integer
overflow and give the compiler complete information about the proper
arithmetic to use. Notice that this constant is being used in a context
that expects an expression of type unsigned long long, but it's
currently evaluated using 32-bit arithmetic.
Addresses-Coverity-ID: 1503062 ("Unintentional integer overflow")
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| iio-trig-hrtimer.c | ||
| iio-trig-interrupt.c | ||
| iio-trig-loop.c | ||
| iio-trig-sysfs.c | ||
| Kconfig | ||
| Makefile | ||
| stm32-lptimer-trigger.c | ||
| stm32-timer-trigger.c | ||