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-5417 lustre: fix comparison between signed and unsigned
[fs/lustre-release.git]
/
lustre
/
include
/
lprocfs_status.h
diff --git
a/lustre/include/lprocfs_status.h
b/lustre/include/lprocfs_status.h
index
e9a8d41
..
3deb990
100644
(file)
--- a/
lustre/include/lprocfs_status.h
+++ b/
lustre/include/lprocfs_status.h
@@
-557,7
+557,7
@@
static inline __u64 lprocfs_stats_collector(struct lprocfs_stats *stats,
int idx,
enum lprocfs_fields_flags field)
{
-
int
i;
+
unsigned int
i;
unsigned int num_cpu;
unsigned long flags = 0;
__u64 ret = 0;