diff options
author | Soby Mathew <soby.mathew@arm.com> | 2018-10-03 15:36:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-03 15:36:37 +0100 |
commit | 3ed87a496adb58605c4ea89c03688b6a08c5f0b0 (patch) | |
tree | 23bf112f61b4056ca93789607f1f2b22920b6b4f /plat/rockchip | |
parent | a4277cda5c7f57a7205f4c29edbb488d518c29b5 (diff) | |
parent | a08a2014300a495381cdb8f6d59523bcd5d3b883 (diff) |
Merge pull request #1584 from danielboulby-arm/db/Switches
Ensure the flow through switch statements is clear
Diffstat (limited to 'plat/rockchip')
-rw-r--r-- | plat/rockchip/rk3399/drivers/dp/cdn_dp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/rockchip/rk3399/drivers/dp/cdn_dp.c b/plat/rockchip/rk3399/drivers/dp/cdn_dp.c index 2adab8fb..73a75bb7 100644 --- a/plat/rockchip/rk3399/drivers/dp/cdn_dp.c +++ b/plat/rockchip/rk3399/drivers/dp/cdn_dp.c @@ -4,6 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ +#include <assert.h> #include <cdefs.h> #include <cdn_dp.h> #include <smccc.h> @@ -38,6 +39,7 @@ uint64_t dp_hdcp_ctrl(uint64_t type) return hdcp_handler(&key); else return PSCI_E_INVALID_PARAMS; + assert(0); /* Unreachable */ default: return SMC_UNK; } |