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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 6 Jan 2020 13:37:16 +1100

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 ...

-- 
Cheers,
Stephen Rothwell