From: David Sterba <dsterba@suse.com>
To: linux-btrfs@vger.kernel.org
Cc: David Sterba <dsterba@suse.com>
Subject: [PATCH 0/2] Minor macro and type cleanups
Date: Thu, 13 Jul 2023 16:10:22 +0200 [thread overview]
Message-ID: <cover.1689257327.git.dsterba@suse.com> (raw)
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
next reply other threads:[~2023-07-13 14:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-13 14:10 David Sterba [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1689257327.git.dsterba@suse.com \
--to=dsterba@suse.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.