Skip to content

This series addresses several minor issues found using sparse.

Gabriel Shahrouzi linux-bcachefs linux-kernel-mentees lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bcachefs: Fix escape sequence in prt_printffs/bcachefs/data_update.c+1 -10 replies
2/3bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucketfs/bcachefs/journal_io.c+1 -10 replies
3/3bcachefs: Use cpu_to_le16 for dirent lengthsfs/bcachefs/dirent.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] This series addresses several minor issues found using sparse.

The first patch fixes a typo ('\%u') in a format specifier within a print statement. The incorrect sequence was replaced as it didn't appear to be the author's intent.

The second patch corrects the type for a function argument to __le64, which fixes two related sparse warnings. Although the argument data is already little-endian, using the specific __le64 type improves consistency and makes the expected data format explicit.

The third patch ensures cpu_to_le16() is used when preparing certain on-disk data (directory entry lengths). This maintains correct byte ordering for big-endian systems.

Gabriel Shahrouzi (3):
bcachefs: Fix escape sequence in prt_printf
bcachefs: Fix type for parameter in
journal_advance_devs_to_next_bucket
bcachefs: Use cpu_to_le16 for dirent lengths

 fs/bcachefs/data_update.c | 2 +-
 fs/bcachefs/dirent.c      | 4 ++--
 fs/bcachefs/journal_io.c  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
Signature · 1 line
2.43.0