public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* watchdog pdev id set to -1
@ 2011-02-18 10:41 Koyamangalath, Abhilash
  2011-02-18 10:56 ` Felipe Balbi
  0 siblings, 1 reply; 6+ messages in thread
From: Koyamangalath, Abhilash @ 2011-02-18 10:41 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

There this boot-time message (on both omap3 and am3517 evms atleast):
[    1.904418] omap_device: omap_wdt.-1: new worst case activate latency 0: 6105

omap_init_wdt() initializes the id to -1 and then omap_device_build() is called with this value; this eventually calls platform_device_register() with a pdev having id as -1. I don't see any code that checks for this -1 and changes it to a non-erroneous value.

Perhaps there is a reason I've failed to notice?
Please comment.
Else I'm planning to submit a patch which fixes this.

- Abhilash


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-03-01  0:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-18 10:41 watchdog pdev id set to -1 Koyamangalath, Abhilash
2011-02-18 10:56 ` Felipe Balbi
2011-02-18 11:09   ` Koyamangalath, Abhilash
2011-02-18 11:12     ` Felipe Balbi
2011-02-22 21:59       ` Mark Brown
2011-03-01  0:35         ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox