public inbox for linux-kernel-mentees@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH 0/3] This series addresses several minor issues found using sparse.
@ 2025-04-04  1:28 Gabriel Shahrouzi
  2025-04-04  1:28 ` [PATCH 1/3] bcachefs: Fix escape sequence in prt_printf Gabriel Shahrouzi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gabriel Shahrouzi @ 2025-04-04  1:28 UTC (permalink / raw)
  To: kent.overstreet
  Cc: gshahrouzi, linux-bcachefs, shuah, linux-kernel,
	linux-kernel-mentees

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-04  1:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-04  1:28 [PATCH 0/3] This series addresses several minor issues found using sparse Gabriel Shahrouzi
2025-04-04  1:28 ` [PATCH 1/3] bcachefs: Fix escape sequence in prt_printf Gabriel Shahrouzi
2025-04-04  1:28 ` [PATCH 2/3] bcachefs: Fix type for parameter in journal_advance_devs_to_next_bucket Gabriel Shahrouzi
2025-04-04  1:28 ` [PATCH 3/3] bcachefs: Use cpu_to_le16 for dirent lengths Gabriel Shahrouzi
2025-04-04  1:34 ` [PATCH 0/3] This series addresses several minor issues found using sparse Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox