freebsd-dev/sys/mips/nlm
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
..
dev mips: make some use of mallocarray(9). 2018-01-15 21:13:30 +00:00
hal sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
board_cpld.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
board_eeprom.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
board.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
board.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
bus_space_rmi_pci.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
bus_space_rmi.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
clock.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
cms.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
files.xlp Add subclass of simplebus for Broadcom XLP 2015-02-27 23:33:53 +00:00
interrupt.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
intr_machdep.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
mpreset.S Whitespace fixes for files in sys/mips/nlm 2015-02-28 00:17:29 +00:00
msgring.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
std.xlp
tick.c Use the TSLOG framework to record entry/exit timestamps for DELAY and 2017-12-31 09:24:41 +00:00
uart_cpu_xlp.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
usb_init.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
xlp_machdep.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
xlp_pci.c sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00
xlp_simplebus.c mips: for pointers replace 0 with NULL. 2016-04-15 14:26:24 +00:00
xlp.h sys/mips: further adoption of SPDX licensing ID tags. 2017-11-27 15:07:26 +00:00