diff options
| author | Xinghuo Chen <[email protected]> | 2025-03-03 12:57:33 +0000 |
|---|---|---|
| committer | Guenter Roeck <[email protected]> | 2025-03-03 14:04:34 +0000 |
| commit | 10fce7ebe888fa8c97eee7e317a47e7603e5e78d (patch) | |
| tree | fe1e2d1eb43f7789d4dee524ac02a0872daca124 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | hwmon: (ad7314) Validate leading zero bits and return error (diff) | |
| download | kernel-10fce7ebe888fa8c97eee7e317a47e7603e5e78d.tar.gz kernel-10fce7ebe888fa8c97eee7e317a47e7603e5e78d.zip | |
hwmon: fix a NULL vs IS_ERR_OR_NULL() check in xgene_hwmon_probe()
The devm_memremap() function returns error pointers on error,
it doesn't return NULL.
Fixes: c7cefce03e69 ("hwmon: (xgene) access mailbox as RAM")
Signed-off-by: Xinghuo Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
