diff options
author | Joe Perches <joe@perches.com> | 2014-04-09 01:04:15 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-04-09 01:48:52 +0200 |
commit | d3b73ca1be3236fc33f896af7e2ba637a677d5c9 (patch) | |
tree | 40cb8fd92cf4c76867a2d01477bd5c2f2e7f42ba /fs/ncpfs/mmap.c | |
parent | ncpfs: Add pr_fmt and convert printks to pr_<level> (diff) | |
download | linux-d3b73ca1be3236fc33f896af7e2ba637a677d5c9.tar.xz linux-d3b73ca1be3236fc33f896af7e2ba637a677d5c9.zip |
ncpfs: convert DPRINTK/DDPRINTK to ncp_dbg
Use a more current logging style and enable use of dynamic debugging.
Remove embedded function names, dynamic debug can add this instead.
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/mmap.c')
-rw-r--r-- | fs/ncpfs/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ncpfs/mmap.c b/fs/ncpfs/mmap.c index 3c5dd55d284c..b359d12eb359 100644 --- a/fs/ncpfs/mmap.c +++ b/fs/ncpfs/mmap.c @@ -107,7 +107,7 @@ int ncp_mmap(struct file *file, struct vm_area_struct *vma) { struct inode *inode = file_inode(file); - DPRINTK("ncp_mmap: called\n"); + ncp_dbg(1, "called\n"); if (!ncp_conn_valid(NCP_SERVER(inode))) return -EIO; |