Re: [RFC 1/2] rust: Introduce atomic API helpers
From: Greg Kroah-Hartman
Date: Thu Jun 13 2024 - 01:39:07 EST
On Wed, Jun 12, 2024 at 03:30:24PM -0700, Boqun Feng wrote:
> +// Generated by scripts/atomic/gen-rust-atomic-helpers.sh
> +// DO NOT MODIFY THIS FILE DIRECTLY
Why not just build this at build time and not check the file into the
tree if it is always automatically generated? That way it never gets
out of sync. We do this for other types of auto-generated files in the
kernel today already.
thanks,
greg k-h