mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-05 19:31:57 -04:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
[ Upstream commit 404290240827c3bb5c4e195174a8854eef2f89ac ]
We seem to have hit warnings of 'output may be truncated' which is fixed
by increasing the size of 'dev_id'
drivers/dma/sh/shdmac.c: In function ‘sh_dmae_probe’:
drivers/dma/sh/shdmac.c:541:34: error: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Werror=format-truncation=]
541 | "sh-dmae%d.%d", pdev->id, id);
| ^~
In function ‘sh_dmae_chan_probe’,
inlined from ‘sh_dmae_probe’ at drivers/dma/sh/shdmac.c:845:9:
drivers/dma/sh/shdmac.c:541:26: note: directive argument in the range [0, 2147483647]
541 | "sh-dmae%d.%d", pdev->id, id);
| ^~~~~~~~~~~~~~
drivers/dma/sh/shdmac.c:541:26: note: directive argument in the range [0, 19]
drivers/dma/sh/shdmac.c:540:17: note: ‘snprintf’ output between 11 and 21 bytes into a destination of size 16
540 | snprintf(sh_chan->dev_id, sizeof(sh_chan->dev_id),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
541 | "sh-dmae%d.%d", pdev->id, id);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
||
| .. | ||
| bestcomm | ||
| dw | ||
| dw-axi-dmac | ||
| dw-edma | ||
| hsu | ||
| ioat | ||
| ipu | ||
| mediatek | ||
| ppc4xx | ||
| qcom | ||
| sh | ||
| ti | ||
| xilinx | ||
| acpi-dma.c | ||
| altera-msgdma.c | ||
| amba-pl08x.c | ||
| at_hdmac.c | ||
| at_hdmac_regs.h | ||
| at_xdmac.c | ||
| bcm-sba-raid.c | ||
| bcm2835-dma.c | ||
| coh901318.c | ||
| coh901318.h | ||
| coh901318_lli.c | ||
| dma-axi-dmac.c | ||
| dma-jz4780.c | ||
| dmaengine.c | ||
| dmaengine.h | ||
| dmatest.c | ||
| ep93xx_dma.c | ||
| fsl-edma-common.c | ||
| fsl-edma-common.h | ||
| fsl-edma.c | ||
| fsl-qdma.c | ||
| fsl_raid.c | ||
| fsl_raid.h | ||
| fsldma.c | ||
| fsldma.h | ||
| idma64.c | ||
| idma64.h | ||
| img-mdc-dma.c | ||
| imx-dma.c | ||
| imx-sdma.c | ||
| iop-adma.c | ||
| iop-adma.h | ||
| k3dma.c | ||
| Kconfig | ||
| lpc18xx-dmamux.c | ||
| Makefile | ||
| mcf-edma.c | ||
| mic_x100_dma.c | ||
| mic_x100_dma.h | ||
| mmp_pdma.c | ||
| mmp_tdma.c | ||
| moxart-dma.c | ||
| mpc512x_dma.c | ||
| mv_xor.c | ||
| mv_xor.h | ||
| mv_xor_v2.c | ||
| mxs-dma.c | ||
| nbpfaxi.c | ||
| of-dma.c | ||
| owl-dma.c | ||
| pch_dma.c | ||
| pl330.c | ||
| pxa_dma.c | ||
| s3c24xx-dma.c | ||
| sa11x0-dma.c | ||
| sirf-dma.c | ||
| sprd-dma.c | ||
| st_fdma.c | ||
| st_fdma.h | ||
| ste_dma40.c | ||
| ste_dma40_ll.c | ||
| ste_dma40_ll.h | ||
| stm32-dma.c | ||
| stm32-dmamux.c | ||
| stm32-mdma.c | ||
| sun4i-dma.c | ||
| sun6i-dma.c | ||
| tegra20-apb-dma.c | ||
| tegra210-adma.c | ||
| timb_dma.c | ||
| TODO | ||
| txx9dmac.c | ||
| txx9dmac.h | ||
| uniphier-mdmac.c | ||
| virt-dma.c | ||
| virt-dma.h | ||
| xgene-dma.c | ||
| zx_dma.c | ||