clk: zynqmp: Add fallthrough statement in the switch case
Add fallthrough statement in switch case to fix the sparse warning. In function 'zynqmp_clk_get_rate': warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com> Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20230519113816.22083-2-venkatesh.abbarapu@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:

committed by
Michal Simek

parent
ded539ff66
commit
71c5fdc2a3
@@ -691,6 +691,7 @@ static ulong zynqmp_clk_get_rate(struct clk *clk)
|
||||
case topsw_lsbus:
|
||||
case sata_ref ... gpu_pp1_ref:
|
||||
two_divs = true;
|
||||
fallthrough;
|
||||
case cpu_r5:
|
||||
case dbg_fpd:
|
||||
case ams_ref:
|
||||
|
Reference in New Issue
Block a user