Skip to content

Commit fc85dc4

Browse files
committed
ARM: OMAP2+: Fix uninitialized sr_inst
Fix uninitialized sr_inst. Fixes: fbfa463 ("ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data") Reported-by: kernel test robot <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent a1ebdb3 commit fc85dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/mach-omap2/sr_device.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ static const char * const dra7_sr_instances[] = {
188188

189189
int __init omap_devinit_smartreflex(void)
190190
{
191-
const char * const *sr_inst;
191+
const char * const *sr_inst = NULL;
192192
int i, nr_sr = 0;
193193

194194
if (soc_is_omap44xx()) {

0 commit comments

Comments
 (0)