summaryrefslogtreecommitdiff
path: root/lib/amdgpu/amd_command_submission.c
diff options
context:
space:
mode:
authorAshutosh Dixit <ashutosh.dixit@intel.com>2022-07-01 20:05:36 -0700
committerAshutosh Dixit <ashutosh.dixit@intel.com>2022-07-06 14:11:58 -0700
commitff483cfd7ea5c7dd03ba59bc68447571200bbb2e (patch)
tree0646b899b7f2d9bc1836019953f95e555606324d /lib/amdgpu/amd_command_submission.c
parent35edd17a9c1dcd71b92182bce9378eea321b0f37 (diff)
tests/kms_cursor_crc: Fix -Wformat-truncation
[72/1181] Compiling C object tests/kms_cursor_crc.p/kms_cursor_crc.c.o ../tests/kms_cursor_crc.c: In function ‘run_size_tests.constprop’: ../tests/kms_cursor_crc.c:702:50: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size between 4 and 14 [-Wformat-truncation=] 702 | snprintf(name, sizeof(name), "%dx%d", w, h); | ^~ ../tests/kms_cursor_crc.c:702:46: note: directive argument in the range [-2147483648, 1024] 702 | snprintf(name, sizeof(name), "%dx%d", w, h); | ^~~~~~~ Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'lib/amdgpu/amd_command_submission.c')
0 files changed, 0 insertions, 0 deletions