Skip to content

fs: Add printf format/argument verification

Joe Perches lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6fs/adfs: Add printf format/argument verification and fix falloutfs/adfs/adfs.h fs/adfs/dir.c+2 -10 replies
2/6fs/affs: Add printf format/argument verification and fix falloutfs/affs/affs.h fs/affs/file.c+10 -62 replies
3/6fs/befs: Add printf format/argument verification and fix falloutfs/befs/befs.h fs/befs/btree.c fs/befs/datastream.c +3 more+77 -490 replies
4/6fs/ecryptfs: Add printf format/argument verification and fix falloutfs/ecryptfs/crypto.c fs/ecryptfs/ecryptfs_kernel.h fs/ecryptfs/file.c +3 more+31 -231 reply
5/6fs/jfs: Add printf format/argument verificationfs/jfs/jfs_superblock.h+2 -02 replies
6/6fs/udf: Add printf format/argument verificationfs/udf/udfdecl.h+2 -01 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchDave Kleikamp
1/6
2/6
3/6
4/6
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] fs: Add printf format/argument verification

Various logging messages functions use printf style varargs without declaring them __attribute__((format(printf...))). Add the attribute so the compiler can warn about mismatches and then fix any mismatch warnings.

Joe Perches (6):
fs/adfs: Add printf format/argument verification and fix fallout fs/affs: Add printf format/argument verification and fix fallout fs/befs: Add printf format/argument verification and fix fallout fs/ecryptfs: Add printf format/argument verification and fix fallout fs/jfs: Add printf format/argument verification
fs/udf: Add printf format/argument verification

 fs/adfs/adfs.h                |    1 +
 fs/adfs/dir.c                 |    2 +-
 fs/affs/affs.h                |    2 +
 fs/affs/file.c                |   14 ++++---
 fs/befs/befs.h                |    3 ++
 fs/befs/btree.c               |    5 ++-
 fs/befs/datastream.c          |   76 ++++++++++++++++++++++++-----------------
 fs/befs/inode.c               |   11 ++++--
 fs/befs/io.c                  |   12 ++++--
 fs/befs/linuxvfs.c            |   19 ++++++----
 fs/ecryptfs/crypto.c          |   20 ++++++----
 fs/ecryptfs/ecryptfs_kernel.h |    1 +
 fs/ecryptfs/file.c            |    6 ++--
 fs/ecryptfs/keystore.c        |    7 ++--
 fs/ecryptfs/main.c            |    7 ++--
 fs/ecryptfs/mmap.c            |   13 ++++---
 fs/jfs/jfs_superblock.h       |    2 +
 fs/udf/udfdecl.h              |    2 +
 18 files changed, 124 insertions(+), 79 deletions(-)
Signature · 1 line
1.7.3.1.g432b3.dirty