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: Sumit Pundir <pundirsumit11@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Sumit Pundir 2018-01-28 10:54:55 +05:30 committed by Greg Kroah-Hartman
parent aa4e0df863
commit 56cabde291
1 changed files with 1 additions and 1 deletions

View File

@ -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