Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fs: afs: Use pr_warn instead of pr_warning

As said in commit f2c2cbcc35d4 ("powerpc: Use pr_warn instead of
pr_warning"), removing pr_warning so all logging messages use a
consistent <prefix>_warn style. Let's do it.

Link: http://lkml.kernel.org/r/20191018031850.48498-23-wangkefeng.wang@huawei.com
To: linux-kernel@vger.kernel.org
Cc: David Howells <dhowells@redhat.com>
Cc: linux-afs@lists.infradead.org
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>

authored by

Kefeng Wang and committed by
Petr Mladek
a4e530ae 947dd3cc

+10 -11
+2 -2
fs/afs/flock.c
··· 346 346 if (ret < 0) { 347 347 trace_afs_flock_ev(vnode, NULL, afs_flock_extend_fail, 348 348 ret); 349 - pr_warning("AFS: Failed to extend lock on {%llx:%llx} error %d\n", 350 - vnode->fid.vid, vnode->fid.vnode, ret); 349 + pr_warn("AFS: Failed to extend lock on {%llx:%llx} error %d\n", 350 + vnode->fid.vid, vnode->fid.vnode, ret); 351 351 } 352 352 353 353 spin_lock(&vnode->lock);
+6 -7
fs/afs/inode.c
··· 34 34 { 35 35 static unsigned long once_only; 36 36 37 - pr_warn("kAFS: AFS vnode with undefined type %u\n", 38 - vnode->status.type); 37 + pr_warn("kAFS: AFS vnode with undefined type %u\n", vnode->status.type); 39 38 pr_warn("kAFS: A=%d m=%o s=%llx v=%llx\n", 40 39 vnode->status.abort_code, 41 40 vnode->status.mode, ··· 174 175 BUG_ON(test_bit(AFS_VNODE_UNSET, &vnode->flags)); 175 176 176 177 if (status->type != vnode->status.type) { 177 - pr_warning("Vnode %llx:%llx:%x changed type %u to %u\n", 178 - vnode->fid.vid, 179 - vnode->fid.vnode, 180 - vnode->fid.unique, 181 - status->type, vnode->status.type); 178 + pr_warn("Vnode %llx:%llx:%x changed type %u to %u\n", 179 + vnode->fid.vid, 180 + vnode->fid.vnode, 181 + vnode->fid.unique, 182 + status->type, vnode->status.type); 182 183 afs_protocol_error(NULL, -EBADMSG, afs_eproto_bad_status); 183 184 return; 184 185 }
+2 -2
fs/afs/yfsclient.c
··· 152 152 pr_err("kAFS: %s: Request buffer overflow (%zu>%u)\n", 153 153 call->type->name, len, call->request_size); 154 154 else if (len < call->request_size) 155 - pr_warning("kAFS: %s: Request buffer underflow (%zu<%u)\n", 156 - call->type->name, len, call->request_size); 155 + pr_warn("kAFS: %s: Request buffer underflow (%zu<%u)\n", 156 + call->type->name, len, call->request_size); 157 157 } 158 158 159 159 /*