diff options
author | Krishna Yarlagadda <kyarlagadda@nvidia.com> | 2023-02-28 01:34:28 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-28 13:59:58 +0000 |
commit | 2449d436681d40bc63ec2c766fd51b632270d8a7 (patch) | |
tree | f31742fe8a3109460854a57abd89eeaf6d2d755f /security | |
parent | 047ee71ae4f412d8819e39e4b08c588fa299cfc2 (diff) |
spi: tegra210-quad: Fix iterator outside loop
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions