]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix amdgpu_ras_mca_query_error_status scope
authorIsabella Basso <isabbasso@riseup.net>
Thu, 9 Dec 2021 15:47:19 +0000 (12:47 -0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:33:17 +0000 (16:33 -0500)
commit84ef63c14f7d2c8b1121303a44ea2ed04138a348
tree37d2b69de298c330c1ca9046c4aada15acc261d2
parent6776d4e85bd8fb1cf1b78f5cfd595cff283725c5
drm/amdgpu: fix amdgpu_ras_mca_query_error_status scope

This commit fixes the compile-time warning below:

 warning: no previous prototype for ‘amdgpu_ras_mca_query_error_status’
 [-Wmissing-prototypes]

Changes since v1:
- As suggested by Alexander Deucher:
  1. Make function static instead of adding prototype.

Signed-off-by: Isabella Basso <isabbasso@riseup.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c