OSDN Git Service

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)
commit929bb8e200412da36aca4b61209ec26283f9c184
tree37d2b69de298c330c1ca9046c4aada15acc261d2
parent2b36afc694bb3eba5a065c34fa0d735d623ae66f
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