1
linux/net/nfc
Joe Perches b9075fa968 treewide: use __printf not __attribute__((format(printf,...)))
Standardize the style for compiler based printf format verification.
Standardized the location of __printf too.

Done via script and a little typing.

$ grep -rPl --include=*.[ch] -w "__attribute__" * | \
  grep -vP "^(tools|scripts|include/linux/compiler-gcc.h)" | \
  xargs perl -n -i -e 'local $/; while (<>) { s/\b__attribute__\s*\(\s*\(\s*format\s*\(\s*printf\s*,\s*(.+)\s*,\s*(.+)\s*\)\s*\)\s*\)/__printf($1, $2)/g ; print; }'

[akpm@linux-foundation.org: revert arch bits]
Signed-off-by: Joe Perches <joe@perches.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-10-31 17:30:54 -07:00
..
nci NFC: use after free on error 2011-09-27 14:34:10 -04:00
af_nfc.c NFC: add NFC socket family 2011-07-05 15:26:58 -04:00
core.c NFC: Add dev_up and dev_down control operations 2011-09-20 14:43:49 -04:00
Kconfig NFC: basic NCI protocol implementation 2011-09-20 14:43:49 -04:00
Makefile NFC: basic NCI protocol implementation 2011-09-20 14:43:49 -04:00
netlink.c NFC: Add dev_up and dev_down control operations 2011-09-20 14:43:49 -04:00
nfc.h treewide: use __printf not __attribute__((format(printf,...))) 2011-10-31 17:30:54 -07:00
rawsock.c NFC: Reserve tx head and tail room 2011-08-24 14:41:44 -04:00