projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d2ee5d
)
ARM: cache: fix uninitialized ptr in tauros2_init
author
Chao Xie
<xiechao.mail@gmail.com>
Tue, 31 Jul 2012 06:13:10 +0000
(14:13 +0800)
committer
Haojian Zhuang
<haojian.zhuang@gmail.com>
Thu, 16 Aug 2012 08:16:06 +0000
(16:16 +0800)
init the variable "mode" to NULL to ensure the later NULL checking is
taking effect.
Signed-off-by: Chao Xie <xiechao.mail@gmail.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mm/cache-tauros2.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mm/cache-tauros2.c
b/arch/arm/mm/cache-tauros2.c
index 23a7643e9a875925be1280d1bff0c3ee6ffab7ee..97e2ac81399fb27aafdbaa98573eec72d2b2984c 100644
(file)
--- a/
arch/arm/mm/cache-tauros2.c
+++ b/
arch/arm/mm/cache-tauros2.c
@@
-192,7
+192,7
@@
static inline void __init write_actlr(u32 actlr)
void __init tauros2_init(void)
{
extern int processor_id;
- char *mode;
+ char *mode
= NULL
;
disable_l2_prefetch();