diff options
author | Philip Yang <[email protected]> | 2022-03-04 09:33:27 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-03-07 14:59:59 -0500 |
commit | 53b97af4a44abd21344cc9f13986ba53051287bb (patch) | |
tree | a8da55dfb798997df999c9a66f6428ad1747b065 /scripts/gdb/linux/tasks.py | |
parent | 48e9fbd1a28480caf2ac5ec6fcb79ac221735c5d (diff) |
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: d58b8a99cbb8 ("drm/amdkfd: Add SMI add event helper")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Philip Yang <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions