mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
ARM: OMAP2+: Fix uninitialized sr_inst
Fix uninitialized sr_inst.
Fixes: fbfa463be8 ("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>
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user