diff options
author | Anders Larsen <al@alarsen.net> | 2009-09-26 20:15:09 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-11-09 09:40:57 +0100 |
commit | 891ddb95d06e9dc260500f02438a5cff1ba6650a (patch) | |
tree | 0993effca9f99c16ee74c37df72da5d925f954c3 /fs/qnx4/namei.c | |
parent | e0c0978699a83f26f2341f7eedc1463b79e31aff (diff) | |
download | kernel-common-891ddb95d06e9dc260500f02438a5cff1ba6650a.tar.gz kernel-common-891ddb95d06e9dc260500f02438a5cff1ba6650a.tar.bz2 kernel-common-891ddb95d06e9dc260500f02438a5cff1ba6650a.zip |
qnx4fs: add missing KERN_xxx to printk() calls
fixed printk calls to consistently specify a KERN_xxx level.
Signed-off-by: Anders Larsen <al@alarsen.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'fs/qnx4/namei.c')
-rw-r--r-- | fs/qnx4/namei.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c index ae1e7edbacd6..58703ebba879 100644 --- a/fs/qnx4/namei.c +++ b/fs/qnx4/namei.c @@ -30,7 +30,7 @@ static int qnx4_match(int len, const char *name, int namelen, thislen; if (bh == NULL) { - printk("qnx4: matching unassigned buffer !\n"); + printk(KERN_WARNING "qnx4: matching unassigned buffer !\n"); return 0; } de = (struct qnx4_inode_entry *) (bh->b_data + *offset); @@ -66,7 +66,7 @@ static struct buffer_head *qnx4_find_entry(int len, struct inode *dir, *res_dir = NULL; if (!dir->i_sb) { - printk("qnx4: no superblock on dir.\n"); + printk(KERN_WARNING "qnx4: no superblock on dir.\n"); return NULL; } bh = NULL; @@ -124,7 +124,7 @@ struct dentry * qnx4_lookup(struct inode *dir, struct dentry *dentry, struct nam foundinode = qnx4_iget(dir->i_sb, ino); if (IS_ERR(foundinode)) { unlock_kernel(); - QNX4DEBUG(("qnx4: lookup->iget -> error %ld\n", + QNX4DEBUG((KERN_ERR "qnx4: lookup->iget -> error %ld\n", PTR_ERR(foundinode))); return ERR_CAST(foundinode); } |