bcachefs: Add printf format attribute to bch2_pr_buf()
authorKent Overstreet <kent.overstreet@gmail.com>
Mon, 21 Mar 2022 22:05:39 +0000 (18:05 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:28 +0000 (17:09 -0400)
commit3756111d138b6c5983d0c7cc2de12a7ec3d1e3d4
treeb0e046a9585e205d8b266c70b2ffb6c2bd182ead
parentb8559f1a212a7035b430b83e0a01e94a872adc23
bcachefs: Add printf format attribute to bch2_pr_buf()

This tells the compiler to check printf format strings, and catches a
few bugs.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_io.c
fs/bcachefs/super-io.c
fs/bcachefs/util.h