diff options
author | Krishna Yarlagadda | 2023-02-28 01:34:28 +0530 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-03-11 13:55:29 +0100 |
commit | aa7dc954e809c03383b7a4b3e5ad5ba7f64e4b28 (patch) | |
tree | 6e6430527c893b13ee738d7baaeceb60ca5ec08d /drivers/soc | |
parent | d6e15f8de5b5efd6ecde9bd5cd52d4b60982ba22 (diff) |
spi: tegra210-quad: Fix iterator outside loop
[ Upstream commit 2449d436681d40bc63ec2c766fd51b632270d8a7 ]
Fix warn: iterator used outside loop: 'xfer'. 'xfer' variable contain
invalid value in few conditions. Complete transfer within DATA phase
in successful case and at the end for failed transfer.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link:https://lore.kernel.org/all/202210191211.46FkzKmv-lkp@intel.com/
Fixes: 8777dd9dff40 ("spi: tegra210-quad: Fix combined sequence")
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Link: https://lore.kernel.org/r/20230227200428.45832-1-kyarlagadda@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions