diff options
author | Lijo Lazar <lijo.lazar@amd.com> | 2022-04-08 09:11:04 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-11 13:50:35 -0400 |
commit | 73bce7a423c3bb7c3441177aca868ff5f2cf93fa (patch) | |
tree | b13b30e9bea2edb5baedc7e442f6028598117a1c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 25faeddcf3c3f31f9f43de5c55f7cbdd13d3ebc7 (diff) | |
download | linux-73bce7a423c3bb7c3441177aca868ff5f2cf93fa.tar.gz linux-73bce7a423c3bb7c3441177aca868ff5f2cf93fa.tar.bz2 linux-73bce7a423c3bb7c3441177aca868ff5f2cf93fa.zip |
drm/amdgpu: Use flexible array member
Use flexible array member in ip discovery struct as recommended[1].
[1] https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays
v2: squash in struct_size fixes
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions