aboutsummaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorKunwu Chan <[email protected]>2023-12-01 13:54:47 +0800
committerIlpo Järvinen <[email protected]>2023-12-04 15:01:46 +0200
commit3494a594315b56516988afb6854d75dee5b501db (patch)
treeaaf6eb872281f056c7b446ff96672af54ad006d6 /scripts/rustdoc_test_builder.rs
parent2c7c857f5fed997be93047d2de853d7f10c8defe (diff)
platform/mellanox: Check devm_hwmon_device_register_with_groups() return value
devm_hwmon_device_register_with_groups() returns an error pointer upon failure. Check its return value for errors. Compile-tested only. Fixes: 1a218d312e65 ("platform/mellanox: mlxbf-pmc: Add Mellanox BlueField PMC driver") Suggested-by: Ilpo Järvinen <[email protected]> Suggested-by: Vadim Pasternak <[email protected]> Signed-off-by: Kunwu Chan <[email protected]> Reviewed-by: Vadim Pasternak <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ij: split the change into two] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions