Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ntfs: don't fool kernel-doc

kernel-doc handles macros now (it has for quite some time), so change the
ntfs_debug() macro's kernel-doc to be just before the macro instead of
before a phony function prototype.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Anton Altaparmakov <aia21@cantab.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Randy Dunlap and committed by
Linus Torvalds
03801553 ced69090

+2 -6
+2 -6
fs/ntfs/debug.h
··· 30 30 31 31 extern int debug_msgs; 32 32 33 - #if 0 /* Fool kernel-doc since it doesn't do macros yet */ 33 + extern void __ntfs_debug(const char *file, int line, const char *function, 34 + const char *format, ...) __attribute__ ((format (printf, 4, 5))); 34 35 /** 35 36 * ntfs_debug - write a debug level message to syslog 36 37 * @f: a printf format string containing the message ··· 40 39 * ntfs_debug() writes a DEBUG level message to the syslog but only if the 41 40 * driver was compiled with -DDEBUG. Otherwise, the call turns into a NOP. 42 41 */ 43 - static void ntfs_debug(const char *f, ...); 44 - #endif 45 - 46 - extern void __ntfs_debug (const char *file, int line, const char *function, 47 - const char *format, ...) __attribute__ ((format (printf, 4, 5))); 48 42 #define ntfs_debug(f, a...) \ 49 43 __ntfs_debug(__FILE__, __LINE__, __func__, f, ##a) 50 44