Skip to contentSkip to conversation

linux-next: build warning after merge of the clockevents tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jan 6, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the clockevents tree, today's linux-next build (arm multi_v7_defconfig) produced this warning:

drivers/clocksource/timer-ti-dm.c: In function 'omap_dm_timer_probe':
drivers/clocksource/timer-ti-dm.c:798:13: warning: 'timer' may be used uninitialized in this function [-Wmaybe-uninitialized]

  798 |  timer->irq = platform_get_irq(pdev, 0);
      |  ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

8c82723414d5 ("clocksource/drivers/timer-ti-dm: Switch to platform_get_irq")

This is not a false positive ...

Signature · 2 lines
Cheers,
Stephen Rothwell