summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_hhf.c
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-04-30 18:28:51 +0200
committerDavid S. Miller <davem@davemloft.net>2014-05-02 22:18:54 +0200
commit39076b047b160821110cb4deed13424ddfdf8d00 (patch)
treeaabbab28ca9bfe23bcee95efefab4717d2d3fd87 /net/sched/sch_hhf.c
parentnet phy: Check for aneg completion before setting state to PHY_RUNNING (diff)
downloadlinux-39076b047b160821110cb4deed13424ddfdf8d00.tar.xz
linux-39076b047b160821110cb4deed13424ddfdf8d00.zip
net: mvmdio: Check for a valid interrupt instead of an error
The following commit: commit 9ec36cafe43bf835f8f29273597a5b0cbc8267ef Author: Rob Herring <robh@kernel.org> Date: Wed Apr 23 17:57:41 2014 -0500 of/irq: do irq resolution in platform_get_irq changed platform_get_irq() which now returns EINVAL and EPROBE_DEFER, in addition to ENXIO. If there's no interrupt for mvmdio, platform_get_irq() returns EINVAL, but we currently check only for ENXIO. Fix this by looking for a positive integer, which is the proper way of validating a virtual interrupt number. While at it, add a proper handling for the deferral probe case. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Reviewed-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions