diff options
author | 2016-02-25 10:47:10 +0300 | |
---|---|---|
committer | 2016-02-26 12:43:47 -0500 | |
commit | a65ecc4070c75ed53553def79e5da862b47daf1f (patch) | |
tree | 7e983deb716ca4f6c77165e129fbea52ee5e73f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | drm/amdgpu: fix error handling in amdgpu_bo_list_set (diff) | |
download | linux-dev-a65ecc4070c75ed53553def79e5da862b47daf1f.tar.xz linux-dev-a65ecc4070c75ed53553def79e5da862b47daf1f.zip |
drm/amd: cleanup get_mfd_cell_dev()
It's simpler to just use snprintf() to print this to one buffer instead
of using strcpy() and strcat(). Also using snprintf() is slightly safer
than using sprintf().
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions