aboutsummaryrefslogtreecommitdiffstats
path: root/net/ceph/debugfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ceph/debugfs.c')
-rw-r--r--net/ceph/debugfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ceph/debugfs.c b/net/ceph/debugfs.c
index 27d4ea315d12..54b531a01121 100644
--- a/net/ceph/debugfs.c
+++ b/net/ceph/debugfs.c
@@ -94,9 +94,9 @@ static int monc_show(struct seq_file *s, void *p)
94 mutex_lock(&monc->mutex); 94 mutex_lock(&monc->mutex);
95 95
96 if (monc->have_mdsmap) 96 if (monc->have_mdsmap)
97 seq_printf(s, "have mdsmap %u\n", (unsigned)monc->have_mdsmap); 97 seq_printf(s, "have mdsmap %u\n", (unsigned int)monc->have_mdsmap);
98 if (monc->have_osdmap) 98 if (monc->have_osdmap)
99 seq_printf(s, "have osdmap %u\n", (unsigned)monc->have_osdmap); 99 seq_printf(s, "have osdmap %u\n", (unsigned int)monc->have_osdmap);
100 if (monc->want_next_osdmap) 100 if (monc->want_next_osdmap)
101 seq_printf(s, "want next osdmap\n"); 101 seq_printf(s, "want next osdmap\n");
102 102
@@ -146,7 +146,7 @@ static int osdc_show(struct seq_file *s, void *pp)
146 146
147 if (req->r_reassert_version.epoch) 147 if (req->r_reassert_version.epoch)
148 seq_printf(s, "\t%u'%llu", 148 seq_printf(s, "\t%u'%llu",
149 (unsigned)le32_to_cpu(req->r_reassert_version.epoch), 149 (unsigned int)le32_to_cpu(req->r_reassert_version.epoch),
150 le64_to_cpu(req->r_reassert_version.version)); 150 le64_to_cpu(req->r_reassert_version.version));
151 else 151 else
152 seq_printf(s, "\t"); 152 seq_printf(s, "\t");