Re: [PATCH] gpu: nova-core: define named constants for magic numbers

2025-07-14 Thread Rhys Lloyd
On 7/13/25 8:11 PM, Alexandre Courbot wrote: On Sun Jul 13, 2025 at 11:51 AM JST, Rhys Lloyd wrote: Introduce an associated constant `MIN_LEN` for each struct that checks the length of the input data in its constructor against a magic number. Signed-off-by: Rhys Lloyd As I mentioned in [1], I

Re: [PATCH] gpu: nova-core: define named constants for magic numbers

2025-07-13 Thread Alexandre Courbot
On Sun Jul 13, 2025 at 11:51 AM JST, Rhys Lloyd wrote: > Introduce an associated constant `MIN_LEN` for each struct that checks > the length of the input data in its constructor against a magic number. > > Signed-off-by: Rhys Lloyd As I mentioned in [1], I think this would be better addressed by