GFS2: fs/gfs2/glock.h: Add __attribute__((format(printf,2,3)) to gfs2_print_dbg
authorJoe Perches <joe@perches.com>
Wed, 10 Nov 2010 21:19:06 +0000 (13:19 -0800)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 30 Nov 2010 10:31:05 +0000 (10:31 +0000)
commitedc221d00bd5c6da0e5c67701f3782b72796619f
tree2376c53981a815716955659331d8956b46e95805
parent5e69069c1afb655b5f1a154856ccdb4bb7327b81
GFS2: fs/gfs2/glock.h: Add __attribute__((format(printf,2,3)) to gfs2_print_dbg

Functions that use printf formatting, especially
those that use %pV, should have their uses of
printf format and arguments checked by the compiler.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.h