From: David Laight <david.laight.linux@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] Add offsetofp() and offsetofendp() for pointer arithmetic
Date: Sun, 8 Nov 2026 20:41:41 +0000 [thread overview]
Message-ID: <20261108204141.6112599a@pumpkin> (raw)
In-Reply-To: <00152592-fd72-4413-88cd-c78a3722829a@arm.com>
On Fri, 6 Nov 2026 09:29:24 +0100
Bence Csókás <bence.csokas@arm.com> wrote:
Not cc'ing everyone because there are too many addresses.
> However, as Sashiko pointed out (don't know why it didn't write this
> earlier), struct_offset() already exists, so we should just use that
> one, and probably add a struct_offset_end() variant.
Even that is 'another define that you might have to look up'.
A lot of these 'helpers' don't really help.
David
prev parent reply other threads:[~2026-11-08 20:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-05 17:16 Bence Csokas
2026-11-05 17:16 ` [PATCH 1/3] stddef: " Bence Csokas
2026-11-05 17:16 ` [PATCH 2/3] treewide: Use offsetofendp() Bence Csokas
2026-11-05 17:16 ` [PATCH 3/3] treewide: Use offsetofp() Bence Csokas
2026-11-06 8:04 ` [PATCH 0/3] Add offsetofp() and offsetofendp() for pointer arithmetic Christoph Hellwig
2026-11-06 8:29 ` Bence Csókás
2026-11-08 20:41 ` David Laight [this message]
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=20261108204141.6112599a@pumpkin \
--to=david.laight.linux@gmail.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®