diff options
| author | Dan Carpenter <[email protected]> | 2018-02-06 12:45:36 +0000 |
|---|---|---|
| committer | Darren Hart (VMware) <[email protected]> | 2018-02-06 15:42:38 +0000 |
| commit | 8a0f5b6f33275eb0251e0e1b0716744f9d95415f (patch) | |
| tree | 842b74e9b4d9bfa7f326f4270d2ce8c11df649c3 /fs/jbd2/commit.c | |
| parent | platform/x86: intel_pmc_core: Special case for Coffeelake (diff) | |
| download | kernel-8a0f5b6f33275eb0251e0e1b0716744f9d95415f.tar.gz kernel-8a0f5b6f33275eb0251e0e1b0716744f9d95415f.zip | |
platform/x86: mlx-platform: Fix an ERR_PTR vs NULL issue
devm_ioport_map() returns NULL on error but we accidentally check for
error pointers instead.
Fixes: c6acad68eb2d ("platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Vadim Pasternak <[email protected]>
Signed-off-by: Darren Hart (VMware) <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
