Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-5639 lnet: portal spreading rotor should be unsigned
[fs/lustre-release.git]
/
lnet
/
lnet
/
lib-ptl.c
diff --git
a/lnet/lnet/lib-ptl.c
b/lnet/lnet/lib-ptl.c
index
621a27a
..
d6c7dd7
100644
(file)
--- a/
lnet/lnet/lib-ptl.c
+++ b/
lnet/lnet/lib-ptl.c
@@
-264,10
+264,10
@@
lnet_mt_of_match(struct lnet_match_info *info, struct lnet_msg *msg)
{
struct lnet_match_table *mtable;
struct lnet_portal *ptl;
{
struct lnet_match_table *mtable;
struct lnet_portal *ptl;
-
int
nmaps;
-
int
rotor;
-
int routed
;
-
int cpt
;
+
unsigned int
nmaps;
+
unsigned int
rotor;
+
unsigned int cpt
;
+
bool routed
;
/* NB: called w/o lock */
LASSERT(info->mi_portal < the_lnet.ln_nportals);
/* NB: called w/o lock */
LASSERT(info->mi_portal < the_lnet.ln_nportals);