Re: [PATCH v3] drm/amd/amdgpu: Properly tune the size of struct

2024-08-05 Thread Alex Deucher
Applied. Thanks! On Wed, Jul 31, 2024 at 6:25 AM WangYuli wrote: > > The struct assertion is failed because sparse cannot parse > `#pragma pack(push, 1)` and `#pragma pack(pop)` correctly. > GCC's output is still 1-byte-aligned. No harm to memory layout. > > The error can be filtered out by spar

[PATCH v3] drm/amd/amdgpu: Properly tune the size of struct

2024-07-30 Thread WangYuli
The struct assertion is failed because sparse cannot parse `#pragma pack(push, 1)` and `#pragma pack(pop)` correctly. GCC's output is still 1-byte-aligned. No harm to memory layout. The error can be filtered out by sparse-diff, but sometimes multiple lines queezed into one, making the sparse-diff