projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fc087f
)
ARM: OMAP2+: Fix uninitialized sr_inst
author
Tony Lindgren
<tony@atomide.com>
Wed, 31 Mar 2021 06:27:41 +0000
(09:27 +0300)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 21 Apr 2021 11:00:59 +0000
(13:00 +0200)
[ Upstream commit
fc85dc42a38405099f97aa2af709fe9504a82508
]
Fix uninitialized sr_inst.
Fixes: fbfa463be8dc ("ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/mach-omap2/sr_device.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/sr_device.c
b/arch/arm/mach-omap2/sr_device.c
index 17b66f0d0deef07dc6f48c60c1baf874664a8360..605925684b0aa4d1015c9d0d3eb4a17d76f28f75 100644
(file)
--- a/
arch/arm/mach-omap2/sr_device.c
+++ b/
arch/arm/mach-omap2/sr_device.c
@@
-188,7
+188,7
@@
static const char * const dra7_sr_instances[] = {
int __init omap_devinit_smartreflex(void)
{
- const char * const *sr_inst;
+ const char * const *sr_inst
= NULL
;
int i, nr_sr = 0;
if (soc_is_omap44xx()) {