mbox series

[0/2] Minor macro and type cleanups

Message ID cover.1689257327.git.dsterba@suse.com (mailing list archive)
Headers show
Series Minor macro and type cleanups | expand

Message

David Sterba July 13, 2023, 2:10 p.m. UTC
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(-)