public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Minor macro and type cleanups
@ 2023-07-13 14:10 David Sterba
  2023-07-13 14:10 ` [PATCH 1/2] btrfs: replace unsigned char with u8 for type casts David Sterba
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: David Sterba @ 2023-07-13 14:10 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

Get rid of unsigned char, and use sizeof_filed().

David Sterba (2):
  btrfs: replace unsigned char with u8 for type casts
  btrfs: use helper sizeof_field in struct accessors

 fs/btrfs/accessors.h     | 23 +++++++++++------------
 fs/btrfs/delayed-inode.c |  2 +-
 fs/btrfs/file-item.c     |  8 +++-----
 fs/btrfs/send.c          |  2 +-
 4 files changed, 16 insertions(+), 19 deletions(-)

-- 
2.40.0


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

end of thread, other threads:[~2023-07-14 14:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-13 14:10 [PATCH 0/2] Minor macro and type cleanups David Sterba
2023-07-13 14:10 ` [PATCH 1/2] btrfs: replace unsigned char with u8 for type casts David Sterba
2023-07-14 14:44   ` Christoph Hellwig
2023-07-13 14:10 ` [PATCH 2/2] btrfs: use helper sizeof_field in struct accessors David Sterba
2023-07-14 14:45   ` Christoph Hellwig
2023-07-14 10:24 ` [PATCH 0/2] Minor macro and type cleanups Johannes Thumshirn

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