aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorDeepak R Varma <[email protected]>2022-12-23 02:45:00 +0530
committerAlex Deucher <[email protected]>2023-01-10 18:04:24 -0500
commit9d086e0ddaeb08876f4df3a1485166bfd7483252 (patch)
treeafb9eb43875bdd0a92c95696175c18d977777982 /lib/test_fortify/write_overflow-strlcpy-src.c
parent40794dfd20e08118fc1a4fd6d3d885fc65cdda43 (diff)
drm/amdkfd: Use resource_size() helper function
Use the resource_size() function instead of a open coded computation resource size. It makes the code more readable. Issue identified using resource_size.cocci coccinelle semantic patch. Signed-off-by: Deepak R Varma <[email protected]> Signed-off-by: Felix Kuehling <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions