diff options
author | 2021-12-10 07:07:53 +0000 | |
---|---|---|
committer | 2021-12-21 19:35:22 +0100 | |
commit | 804034c4ffc502795cea9b3867acb2ec7fad99ba (patch) | |
tree | 873cbf9d462bbbe8ffead21112196b17a8812170 /scripts/gdb/linux/utils.py | |
parent | platform/x86/intel: hid: add quirk to support Surface Go 3 (diff) | |
download | wireguard-linux-804034c4ffc502795cea9b3867acb2ec7fad99ba.tar.xz wireguard-linux-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 <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>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions