Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -187,7 +187,7 @@ sfw_del_session_timer(void)
		return 0;
		return 0;
	}
	}


	return EBUSY; /* racing with sfw_session_expired() */
	return -EBUSY; /* racing with sfw_session_expired() */
}
}


static void
static void