aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ncpfs/ncplib_kernel.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2014-04-08 19:04:14 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-08 19:48:52 -0400
commitb41f8b84d01d32ea618dbbe5679bd07ce3444b88 (patch)
treecbede13191e15a0554b8d12ae6ef098a8ce4048b /fs/ncpfs/ncplib_kernel.c
parentd0057ca4c1fe73c05a9e077cc7691217370b3283 (diff)
ncpfs: Add pr_fmt and convert printks to pr_<level>
Convert to a more current logging style. Add pr_fmt to prefix with "ncpfs: ". Remove the embedded function names and use "%s: ", __func__ Some previously unprefixed messages now have "ncpfs: " Signed-off-by: Joe Perches <joe@perches.com> Cc: Petr Vandrovec <petr@vandrovec.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ncpfs/ncplib_kernel.c')
-rw-r--r--fs/ncpfs/ncplib_kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ncpfs/ncplib_kernel.c b/fs/ncpfs/ncplib_kernel.c
index 981a95617fc9..827c1180cba6 100644
--- a/fs/ncpfs/ncplib_kernel.c
+++ b/fs/ncpfs/ncplib_kernel.c
@@ -9,7 +9,7 @@
9 * 9 *
10 */ 10 */
11 11
12 12#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
13 13
14#include "ncp_fs.h" 14#include "ncp_fs.h"
15 15
@@ -425,7 +425,7 @@ int ncp_obtain_info(struct ncp_server *server, struct inode *dir, const char *pa
425 int result; 425 int result;
426 426
427 if (target == NULL) { 427 if (target == NULL) {
428 printk(KERN_ERR "ncp_obtain_info: invalid call\n"); 428 pr_err("%s: invalid call\n", __func__);
429 return -EINVAL; 429 return -EINVAL;
430 } 430 }
431 ncp_init_request(server); 431 ncp_init_request(server);