OpenCloudOS-Kernel/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 platform/mellanox: mlxreg-lc: Add initial support for Nvidia line card devices 2021-10-19 10:41:56 +02:00
Makefile platform/mellanox: mlxreg-lc: Add initial support for Nvidia line card devices 2021-10-19 10:41:56 +02:00
mlxbf-bootctl.c platform/mellanox: Typo fix in the file mlxbf-bootctl.c 2021-03-23 21:06:04 +01:00
mlxbf-bootctl.h platform/mellanox: Add bootctl driver for Mellanox BlueField Soc 2019-10-15 10:55:10 +03:00
mlxbf-pmc.c platform/mellanox: mlxbf-pmc: Fix an IS_ERR() vs NULL bug in mlxbf_pmc_map_counters 2021-12-21 19:35:22 +01:00
mlxbf-tmfifo-regs.h platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc 2019-05-06 17:54:42 +03:00
mlxbf-tmfifo.c platform/mellanox: mlxbf-tmfifo: Fix a memory barrier issue 2021-05-19 15:24:52 +02:00
mlxreg-hotplug.c platform/mellanox: mlxreg-hotplug: Extend logic for hotplug devices operations 2021-10-19 10:41:55 +02:00
mlxreg-io.c platform/mellanox: mlxreg-io: Extend number of hwmon attributes 2021-10-19 10:41:55 +02:00
mlxreg-lc.c platform/mellanox: mlxreg-lc: fix error code in mlxreg_lc_create_static_devices() 2021-11-16 10:19:46 +01:00