Skip to content
Snippets Groups Projects
Commit 53b97af4 authored by PhilipY's avatar PhilipY Committed by Alex Deucher
Browse files

drm/amdkfd: Add format attribute to kfd_smi_event_add


To enable compiler type-checked against the format string in callers.

All warnings (new ones prefixed by >>):

>> warning: function 'kfd_smi_event_add' might be a candidate for
'gnu_printf' format attribute [-Wsuggest-attribute=format]

Fixes: d58b8a99 ("drm/amdkfd: Add SMI add event helper")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarPhilip Yang <Philip.Yang@amd.com>
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 48e9fbd1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment