Re: [PATCH 1/6] smsc911x: add support for platform-specific irq flags

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Steve.Glendinning
Date: Wednesday, January 21, 2009 - 8:54 am

Hi Ben,

Ben Dooks <ben-linux@fluff.org> wrote on 20/01/2009 14:55:39:

Thanks for spotting this.

This probe function also returns -ENODEV in two other places: if 
platform_data is null or if it fails to get it's IORESOURCE_MEM.  I guess 
these should all be fixed, which return code should the driver use to 
indicate "my platform_data is missing or incomplete"?

Steve
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH REPOST 0/6] convert arm platforms to smsc911x, Steve Glendinning, (Tue Jan 20, 6:28 am)
[PATCH 1/6] smsc911x: add support for platform-specific ir ..., Steve Glendinning, (Tue Jan 20, 6:28 am)
[PATCH 2/6] smsc911x: register isr as IRQF_SHARED, Steve Glendinning, (Tue Jan 20, 6:28 am)
[PATCH 3/6] arm: convert pcm037 platform to use smsc911x, Steve Glendinning, (Tue Jan 20, 6:28 am)
[PATCH 4/6] arm: convert realview platform to use smsc911x, Steve Glendinning, (Tue Jan 20, 6:28 am)
[PATCH 5/6] arm: update pcm037 defconfig to use smsc911x, Steve Glendinning, (Tue Jan 20, 6:28 am)
Re: [PATCH 1/6] smsc911x: add support for platform-specifi ..., Steve.Glendinning, (Wed Jan 21, 8:54 am)
Re: [PATCH 7/8] arm: convert omap ldp platform to use smsc911x, Russell King - ARM Linux, (Thu Jan 22, 3:58 am)
Re: [PATCH 7/8] arm: convert omap ldp platform to use smsc911x, Steve.Glendinning, (Fri Jan 23, 10:07 am)
Re: [PATCH 1/6] smsc911x: add support for platform-specifi ..., Steve.Glendinning, (Mon Jan 26, 1:45 am)