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

From: Stephen Rothwell
Date: Sun Jan 05 2020 - 21:37:23 EST


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

Attachment: pgp_2fMJNgdoo.pgp
Description: OpenPGP digital signature