[lkml]   [2006]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[patch 0/2] driver core: platform_get_irq*(): return -ENXIO on error
platform_get_irq*() can't return 0 on error since 0 may be a valid IRQ.,
instead return a -ve error code.

- return -ENXIO if platform_get_irq*() can't find the resource.

- fix all the users of platform_get_irq*() so they do something
sensible when it returns an error.

David Vrabel
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-01-19 18:52    [W:0.036 / U:3.612 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site