Merge tag 'mac80211-for-davem-2016-06-29-v2' of git://git.kernel.org/pub/scm/linux...
[cascardo/linux.git] / fs / nilfs2 / namei.c
index 47bd989..1ec8ae5 100644 (file)
@@ -139,7 +139,7 @@ static int nilfs_symlink(struct inode *dir, struct dentry *dentry,
 {
        struct nilfs_transaction_info ti;
        struct super_block *sb = dir->i_sb;
-       unsigned l = strlen(symname)+1;
+       unsigned int l = strlen(symname) + 1;
        struct inode *inode;
        int err;
 
@@ -284,7 +284,7 @@ static int nilfs_do_unlink(struct inode *dir, struct dentry *dentry)
 
        if (!inode->i_nlink) {
                nilfs_warning(inode->i_sb, __func__,
-                             "deleting nonexistent file (%lu), %d\n",
+                             "deleting nonexistent file (%lu), %d",
                              inode->i_ino, inode->i_nlink);
                set_nlink(inode, 1);
        }