public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <dvrabel@cantab.net>
To: Greg KH <gregkh@suse.de>
Cc: David Vrabel <dvrabel@arcom.com>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [patch 0/2] driver core: platform_get_irq*(): return -ENXIO on error
Date: Thu, 19 Jan 2006 17:49:35 +0000	[thread overview]
Message-ID: <43CFD12F.2070900@cantab.net> (raw)
In-Reply-To: <20060105180815.GB13317@suse.de>

platform_get_irq*() can't return 0 on error since 0 may be a valid IRQ.,
instead return a -ve error code.

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

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

David Vrabel

  reply	other threads:[~2006-01-19 17:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 17:11 [DRIVER CORE] platform_get_irq*(): return NO_IRQ on error David Vrabel
2006-01-05 17:26 ` Russell King
2006-01-05 17:37 ` Greg KH
2006-01-05 18:03   ` David Vrabel
2006-01-05 18:08     ` Greg KH
2006-01-19 17:49       ` David Vrabel [this message]
2006-01-19 17:52         ` [patch 1/2] driver core: platform_get_irq*(): return -ENXIO " David Vrabel
2006-01-19 17:56         ` [patch 2/2] handle errors returned by platform_get_irq*() David Vrabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43CFD12F.2070900@cantab.net \
    --to=dvrabel@cantab.net \
    --cc=dvrabel@arcom.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox