mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20240117091706.153431-1-chentao@kylinos.cn |
||
|---|---|---|
| .. | ||
| dma_lib.c | ||
| gpio_mdio.c | ||
| idle.c | ||
| iommu.c | ||
| Kconfig | ||
| Makefile | ||
| misc.c | ||
| msi.c | ||
| pasemi.h | ||
| pci.c | ||
| powersave.S | ||
| setup.c | ||
| time.c | ||