linux-stable/drivers/platform/mellanox
Miaoqian Lin 804034c4ff platform/mellanox: mlxbf-pmc: Fix an IS_ERR() vs NULL bug in mlxbf_pmc_map_counters
The devm_ioremap() function returns NULL on error, it doesn't return
error pointers. Also according to doc of device_property_read_u64_array,
values in info array are properties of device or NULL.

Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20211210070753.10761-1-linmq006@gmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-12-21 19:35:22 +01:00
..
Kconfig
Makefile
mlxbf-bootctl.c
mlxbf-bootctl.h
mlxbf-pmc.c
mlxbf-tmfifo-regs.h
mlxbf-tmfifo.c
mlxreg-hotplug.c
mlxreg-io.c
mlxreg-lc.c