diff options
author | Alexander Sverdlin <[email protected]> | 2024-09-21 01:21:55 +0200 |
---|---|---|
committer | Arnd Bergmann <[email protected]> | 2024-10-11 09:55:47 +0000 |
commit | 26d77ce57479f4aa960f0e446e3f27be725b2d70 (patch) | |
tree | 52924079bd284ea2c54e58d111780e88a8e8be30 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 5b484feb7a26615f09b398e3ac5cefd5c85e9b37 (diff) |
dmaengine: cirrus: check that output may be truncated
ep93xx_dma.c: In function 'ep93xx_dma_of_probe':
ep93xx_dma.c:1409:74: warning: '%u' directive output may be truncated
writing between 1 and 8 bytes into a region
of size 2 [-Wformat-truncation=]
snprintf(dma_clk_name, sizeof(dma_clk_name), "m2p%u", i);
^~
Fixes: d7333f9d3377 ("dmaengine: cirrus: use snprintf() to calm down gcc 13.3.0")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Alexander Sverdlin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions