freebsd-dev/sys/mips
Pedro F. Giffuni 98fffe4ecb mips: 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:13:30 +00:00
..
atheros sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
beri sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
broadcom bhnd(4): Include board_devid in the bhnd_board_info structure, and populate 2017-12-14 01:58:05 +00:00
cavium sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
conf Remove sys/mips/rmi. It's been unmaintained since 2011. This hardware 2018-01-01 05:13:03 +00:00
gxemul sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
include Remove mips MD atomic_load_64 and atomic_store_64. 2017-12-22 23:27:03 +00:00
ingenic Use the TSLOG framework to record entry/exit timestamps for DELAY and 2017-12-31 09:24:41 +00:00
malta sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
mediatek [mips] Pin control configuration for MediaTek RT2880 2017-10-31 11:29:16 +00:00
mips mips: make some use of mallocarray(9). 2018-01-15 21:13:30 +00:00
nlm mips: make some use of mallocarray(9). 2018-01-15 21:13:30 +00:00
sibyte sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00