Vinod Koul
bbcd7b588b
dmaengine: xilinx: xdma: Workaround truncation compilation error
...
Increase length to be copied to be large enough to overcome the
following compilation error. The buf is large enough for this purpose.
drivers/dma/xilinx/xilinx_dpdma.c: In function ‘xilinx_dpdma_debugfs_desc_done_irq_read’:
drivers/dma/xilinx/xilinx_dpdma.c:313:39: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
313 | snprintf(buf, out_str_len, "%d",
| ^
drivers/dma/xilinx/xilinx_dpdma.c:313:9: note: ‘snprintf’ output between 2 and 6 bytes into a destination of size 5
313 | snprintf(buf, out_str_len, "%d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
314 | dpdma_debugfs.xilinx_dpdma_irq_done_count);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Vinod Koul <vkoul@kernel.org >
Link: https://lore.kernel.org/r/20231222094017.731917-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org >
2023-12-22 21:17:52 +05:30
..
2023-09-28 13:10:46 +05:30
2023-09-28 13:10:47 +05:30
2023-10-16 16:38:10 +05:30
2023-05-24 12:20:45 +05:30
2023-10-04 19:27:15 +05:30
2022-09-04 22:49:35 +05:30
2023-12-21 21:47:40 +05:30
2023-08-21 18:39:25 +05:30
2023-08-21 11:13:09 +05:30
2023-11-03 18:56:51 -10:00
2023-09-28 13:10:52 +05:30
2023-02-24 17:18:54 -08:00
2023-10-04 19:24:57 +05:30
2023-12-11 16:33:22 +05:30
2023-09-28 16:42:16 +05:30
2023-12-21 21:45:18 +05:30
2023-12-22 21:17:52 +05:30
2021-08-06 21:48:11 +05:30
2023-09-28 13:10:45 +05:30
2022-09-29 12:24:16 +05:30
2023-11-24 18:57:56 +05:30
2023-09-28 16:42:02 +05:30
2023-09-28 13:10:45 +05:30
2023-09-28 13:10:46 +05:30
2023-09-28 13:10:46 +05:30
2023-12-21 21:39:56 +05:30
2023-09-28 13:10:47 +05:30
2023-12-21 21:44:29 +05:30
2021-10-25 09:42:56 +05:30
2023-12-11 20:15:27 +05:30
2023-10-04 15:12:57 +05:30
2023-09-28 13:10:48 +05:30
2015-04-02 16:10:27 +05:30
2023-09-28 16:58:57 +05:30
2023-11-03 18:56:51 -10:00
2023-12-21 21:41:06 +05:30
2023-09-28 13:10:47 +05:30
2023-09-28 13:10:48 +05:30
2020-08-29 13:50:56 -07:00
2023-09-28 16:42:14 +05:30
2023-09-28 13:10:48 +05:30
2019-06-19 17:09:55 +02:00
2023-09-28 13:10:48 +05:30
2023-09-28 13:10:49 +05:30
2023-09-28 13:10:49 +05:30
2023-10-09 10:55:16 +05:30
2023-12-21 21:35:13 +05:30
2023-08-01 23:51:27 +05:30
2023-12-21 21:35:13 +05:30
2023-12-21 21:35:13 +05:30
2023-09-28 13:10:49 +05:30
2023-11-24 18:32:30 +05:30
2023-11-24 18:32:30 +05:30
2023-10-09 10:55:16 +05:30
2023-10-10 23:30:52 +05:30
2023-09-28 16:42:14 +05:30
2023-09-28 13:10:51 +05:30
2023-09-28 13:10:51 +05:30
2023-10-09 10:54:48 +05:30
2019-06-05 17:36:37 +02:00
2023-08-01 23:51:27 +05:30
2023-09-28 13:10:52 +05:30
2023-03-17 23:11:42 +05:30
2023-09-28 13:10:52 +05:30
2022-01-08 22:16:44 +05:30
2023-12-22 12:19:41 +05:30
2023-05-24 12:24:32 +05:30
2023-10-09 10:55:16 +05:30
2023-09-28 16:42:14 +05:30
2023-10-02 21:28:33 +05:30
2023-10-09 10:54:48 +05:30
2023-09-28 16:42:14 +05:30
2023-05-16 23:00:19 +05:30
2019-05-30 11:29:22 -07:00
2023-12-21 21:31:30 +05:30
2023-05-16 23:00:19 +05:30
2023-11-03 18:56:51 -10:00
2023-08-01 23:51:27 +05:30
2023-11-03 18:56:51 -10:00
2023-09-28 13:10:55 +05:30
2023-09-28 13:10:56 +05:30
2023-09-28 13:10:56 +05:30
2023-09-28 16:42:15 +05:30
2023-12-11 17:44:18 +05:30
2023-09-28 13:10:58 +05:30
2023-09-28 13:10:58 +05:30
2019-06-19 17:09:55 +02:00
2023-11-24 18:32:30 +05:30
2023-11-24 18:32:30 +05:30
2020-09-18 12:19:07 +05:30
2019-12-26 10:04:18 +05:30
2023-09-28 13:10:58 +05:30