VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Joe Perches <joe@perches.com> 2011-10-31 17:11:33 -0700 committer: Linus Torvalds <torvalds@linux-foundation.org> 2011-10-31 17:30:54 -0700 commit: b9075fa968a0a4347aef35e235e2995c0e57dddd parent: ae29bc92da01a2e9d278a9a58c3b307d41cc0254
Commit Summary:
treewide: use __printf not __attribute__((format(printf,...)))
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/ecryptfs/ecryptfs_kernel.h b/fs/ecryptfs/ecryptfs_kernel.h
index b36c5572b3f3..54481a3b2c79 100644
--- a/fs/ecryptfs/ecryptfs_kernel.h
+++ b/fs/ecryptfs/ecryptfs_kernel.h
@@ -514,7 +514,7 @@ ecryptfs_set_dentry_lower_mnt(struct dentry *dentry, struct vfsmount *lower_mnt)
 
 #define ecryptfs_printk(type, fmt, arg...) \
         __ecryptfs_printk(type "%s: " fmt, __func__, ## arg);
-__attribute__ ((format(printf, 1, 2)))
+__printf(1, 2)
 void __ecryptfs_printk(const char *fmt, ...);
 
 extern const struct file_operations ecryptfs_main_fops;