u-boot/drivers/clk
Stephen Warren df8b0a0373 clk: sandbox: don't check clk ID against 0
clk->id is unsigned, so it can't be < 0. Remove the check for that.

FWIW, this issue was introduced when the clock API converted e.g.
clk_get_rate()'s clock ID parameter from an int to an unsigned long
(with a struct clk), without removing this check.

Fixes: 135aa95002 ("clk: convert API to match reset/mailbox style")
Reported-by: Coverity Scan
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Simon Glass <sjg@chromium.org>
2016-06-24 17:24:35 -04:00
..
exynos clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
uniphier clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk-uclass.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk_fixed_rate.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk_pic32.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk_rk3036.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk_rk3288.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
clk_sandbox.c clk: sandbox: don't check clk ID against 0 2016-06-24 17:24:35 -04:00
clk_sandbox_test.c clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00
Kconfig clk: exynos: add clock driver for Exynos7420 Soc 2016-05-25 10:00:18 +09:00
Makefile clk: convert API to match reset/mailbox style 2016-06-19 17:05:55 -06:00