diff options
| author | Miaoqian Lin <[email protected]> | 2021-12-10 07:07:53 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-12-21 18:35:22 +0000 |
| commit | 804034c4ffc502795cea9b3867acb2ec7fad99ba (patch) | |
| tree | 873cbf9d462bbbe8ffead21112196b17a8812170 /tools/perf/scripts/python/netdev-times.py | |
| parent | platform/x86/intel: hid: add quirk to support Surface Go 3 (diff) | |
| download | kernel-804034c4ffc502795cea9b3867acb2ec7fad99ba.tar.gz kernel-804034c4ffc502795cea9b3867acb2ec7fad99ba.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
