projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a39222
)
clk: bcm/kona: Silence sparse warnings
author
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 1 May 2015 19:21:53 +0000
(12:21 -0700)
committer
Stephen Boyd
<sboyd@codeaurora.org>
Fri, 15 May 2015 00:11:19 +0000
(17:11 -0700)
drivers/clk/bcm/clk-kona.c:1243:16: warning: odd constant _Bool cast (
ffffffffffffffea
becomes 1)
Reviewed-by: Alex Elder <elder@linaro.org>
Cc: Tim Kryger <tim.kryger@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-kona.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/clk/bcm/clk-kona.c
b/drivers/clk/bcm/clk-kona.c
index a0ef4f75d4573b2db17ec1435003c50bdd7ef350..79a98506c433bbbbc12bd50d0f7cf82a029d3b8b 100644
(file)
--- a/
drivers/clk/bcm/clk-kona.c
+++ b/
drivers/clk/bcm/clk-kona.c
@@
-1240,7
+1240,7
@@
static bool __kona_clk_init(struct kona_clk *bcm_clk)
default:
BUG();
}
- return
-EINVAL
;
+ return
false
;
}
/* Set a CCU and all its clocks into their desired initial state */