mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
spi: tegra210: quad: Fix fall through warning
There is switch-case where one case is falling to the next case. This is creating the compilation warning. Make this fall through as intentional by adding compiler attribute as "fallthrough". Bug 4052299 Change-Id: I0276a4a673284ffbdbc0ca18b650b3c51a4a095f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2880031 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
66a89e5506
commit
bf3ab1984d
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
//
|
||||
// Copyright (C) 2020 NVIDIA CORPORATION.
|
||||
// Copyright (C) 2020-2023 NVIDIA CORPORATION.
|
||||
|
||||
#include <linux/clk.h>
|
||||
#include <linux/completion.h>
|
||||
@@ -1122,6 +1122,7 @@ static int tegra_qspi_combined_seq_xfer(struct tegra_qspi *tqspi,
|
||||
break;
|
||||
} else {
|
||||
transfer_phase++;
|
||||
fallthrough;
|
||||
}
|
||||
case DATA_TRANSFER:
|
||||
/* Program Command, Address value in register */
|
||||
|
||||
Reference in New Issue
Block a user