This series addresses several minor issues found using sparse.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bcachefs: Fix escape sequence in prt_printffs/ | +1 | 0 replies | |
| 2/3 | bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucketfs/ | +1 | 0 replies | |
| 3/3 | bcachefs: Use cpu_to_le16 for dirent lengthsfs/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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