summaryrefslogtreecommitdiffstats
path: root/fs/open.c
diff options
context:
space:
mode:
authorAkhil R <akhilrajeev@nvidia.com>2022-04-26 15:49:12 +0530
committerVinod Koul <vkoul@kernel.org>2022-05-19 23:43:41 +0530
commit39b930bec80e7af4faae4caf4a36464a6d003bed (patch)
tree25891767e49c0e43015f08c13a81943fe827aeb7 /fs/open.c
parent099a9a94be0e1c7fa45410deb2bff640320c3819 (diff)
downloadlinux-39b930bec80e7af4faae4caf4a36464a6d003bed.tar.bz2
dmaengine: tegra: Fix uninitialized variable usage
Initialize slave_bw in dma_prep*() functions as the parameter is not set for DMA_MEM_TO_MEM case in get_transfer_param(). Though the case may never occur, initializing it avoids warning from certain static checkers Fixes: ee17028009d4 ("dmaengine: tegra: Add tegra gpcdma driver") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Link: https://lore.kernel.org/r/20220426101913.43335-2-akhilrajeev@nvidia.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/open.c')
0 files changed, 0 insertions, 0 deletions