Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335771

Re: [PATCH v2] net: smc91x: propagate irq return code

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2] net: smc91x: propagate irq return code
Date 2016-02-16 21:10 +0100
Message-ID <r2U6C-4e2-17@gated-at.bofh.it> (permalink)
References <qZiAy-4L6-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: Sat,  6 Feb 2016 22:23:20 +0100

> The smc91x driver doesn't honor the probe deferral mechanism when the
> interrupt source is not yet available, such as one provided by a gpio
> controller not probed.
> 
> Fix this by propagating the platform_get_irq() error code as the probe
> return value.
> 
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
> Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
> ---
> Since v1: change the irq test to < 0

Applied, thanks.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2] net: smc91x: propagate irq return code David Miller <davem@davemloft.net> - 2016-02-16 21:10 +0100

csiph-web