Re: [PATCH v4 2/2] treewide: Use struct_offset()

From: Peter Zijlstra

Date: Wed Nov 18 2026 - 09:05:57 EST


On Wed, Nov 18, 2026 at 12:50:09PM +0100, Bence Csokas wrote:
> Generated with a simple Coccinelle patch found in
> scripts/coccinelle/api/struct_offsetof.cocci

I think this is a good example of why we don't need this. It adds yet
another macro to remember, and doesn't actually save many characters at
all.