Skip to content
Commit 3e340c05 authored by Jani Nikula's avatar Jani Nikula Committed by Roland Dreier
Browse files

IB/cm: Fix device_create() return value check



Use IS_ERR() instead of comparing to NULL.

Signed-off-by: default avatarJani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent b72c4094
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment