diff options
author | Joe Perches <joe@perches.com> | 2014-09-10 00:17:29 -0400 |
---|---|---|
committer | Ilya Dryomov <idryomov@redhat.com> | 2014-10-14 13:03:23 -0400 |
commit | b9a678994b4a64b1106ab2cf7cfe7cbc10bb6f40 (patch) | |
tree | eddb79372ab905331c38cdda791a24d793c50a86 /net/ceph/mon_client.c | |
parent | 5d23371fdb7dc03fa6fe054da3467efb0d347945 (diff) |
libceph: Convert pr_warning to pr_warn
Use the more common pr_warn.
Other miscellanea:
o Coalesce formats
o Realign arguments
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Diffstat (limited to 'net/ceph/mon_client.c')
-rw-r--r-- | net/ceph/mon_client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ceph/mon_client.c b/net/ceph/mon_client.c index 61fcfc304f68..a83062ceeec9 100644 --- a/net/ceph/mon_client.c +++ b/net/ceph/mon_client.c | |||
@@ -1182,10 +1182,10 @@ static struct ceph_msg *mon_alloc_msg(struct ceph_connection *con, | |||
1182 | pr_info("alloc_msg unknown type %d\n", type); | 1182 | pr_info("alloc_msg unknown type %d\n", type); |
1183 | *skip = 1; | 1183 | *skip = 1; |
1184 | } else if (front_len > m->front_alloc_len) { | 1184 | } else if (front_len > m->front_alloc_len) { |
1185 | pr_warning("mon_alloc_msg front %d > prealloc %d (%u#%llu)\n", | 1185 | pr_warn("mon_alloc_msg front %d > prealloc %d (%u#%llu)\n", |
1186 | front_len, m->front_alloc_len, | 1186 | front_len, m->front_alloc_len, |
1187 | (unsigned int)con->peer_name.type, | 1187 | (unsigned int)con->peer_name.type, |
1188 | le64_to_cpu(con->peer_name.num)); | 1188 | le64_to_cpu(con->peer_name.num)); |
1189 | ceph_msg_put(m); | 1189 | ceph_msg_put(m); |
1190 | m = ceph_msg_new(type, front_len, GFP_NOFS, false); | 1190 | m = ceph_msg_new(type, front_len, GFP_NOFS, false); |
1191 | } | 1191 | } |