Commit 56cabde2 authored by Sumit Pundir's avatar Sumit Pundir Committed by Greg Kroah-Hartman

staging: lustre: lnet: return of an error code should be negative

Return value of error codes should typically be negative.
Issue reported by checkpatch.pl
Signed-off-by: default avatarSumit Pundir <pundirsumit11@gmail.com>
Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarJames Simmons <jsimmons@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aa4e0df8
......@@ -187,7 +187,7 @@ sfw_del_session_timer(void)
return 0;
}
return EBUSY; /* racing with sfw_session_expired() */
return -EBUSY; /* racing with sfw_session_expired() */
}
static void
......
Markdown is supported
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