mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 05:55:44 +02:00
The kzalloc allocation for dtpm_cpu is currently allocating the size
of the pointer and not the size of the structure. Fix this by using
the correct sizeof argument.
Addresses-Coverity: ("Wrong sizeof argument")
Fixes:
|
||
|---|---|---|
| .. | ||
| dtpm_cpu.c | ||
| dtpm.c | ||
| idle_inject.c | ||
| intel_rapl_common.c | ||
| intel_rapl_msr.c | ||
| Kconfig | ||
| Makefile | ||
| powercap_sys.c | ||