]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/sound/core.h
treewide: use __printf not __attribute__((format(printf,...)))
[mirror_ubuntu-bionic-kernel.git] / include / sound / core.h
index 1fa2407c966fdc5240d9853395fd22af6f435724..91d513879a7834043dfa6e7c591cc221bc60e571 100644 (file)
@@ -326,9 +326,9 @@ void release_and_free_resource(struct resource *res);
 /* --- */
 
 #if defined(CONFIG_SND_DEBUG) || defined(CONFIG_SND_VERBOSE_PRINTK)
+__printf(4, 5)
 void __snd_printk(unsigned int level, const char *file, int line,
-                 const char *format, ...)
-     __attribute__ ((format (printf, 4, 5)));
+                 const char *format, ...);
 #else
 #define __snd_printk(level, file, line, format, args...) \
        printk(format, ##args)