freebsd-src/sys/x86/cpufreq
Pedro F. Giffuni 74641f0bc6 x86: make some use of mallocarray(9).
Focus on code where we are doing multiplications within malloc(9). None of
these ire likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.

X-Differential revision: https://reviews.freebsd.org/D13837
2018-01-15 21:08:22 +00:00
..
est.c x86: make some use of mallocarray(9). 2018-01-15 21:08:22 +00:00
hwpstate.c Properly skip the first CPU. It only accidentally worked because the 2017-11-30 20:21:42 +00:00
p4tcc.c sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
powernow.c sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00
smist.c sys/x86: further adoption of SPDX licensing ID tags. 2017-11-27 15:11:47 +00:00