]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: zynqmp: Add fallthrough statement in the switch case
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>
Fri, 19 May 2023 11:38:15 +0000 (17:08 +0530)
committerMichal Simek <michal.simek@amd.com>
Mon, 12 Jun 2023 11:24:31 +0000 (13:24 +0200)
commit71c5fdc2a3a2a2f2094e05c97ebd309530522903
treef9b36ea0d7ccdf75c991140fd026b6355bf398ab
parentded539ff6633f3ba493e18bf23ce489bfc03f28d
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>
drivers/clk/clk_zynqmp.c