summaryrefslogtreecommitdiff
path: root/curve.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-08-12 22:45:47 +0200
committerTobias Klauser <tklauser@distanz.ch>2013-08-12 22:45:47 +0200
commitbce6f96faa3fbb50538712436ea2f4771d6491f9 (patch)
tree1e94f5b24e86a2e82a569250801ec1769d401613 /curve.c
parentb5b2d939664183d9d8f3906366faf01655886dfc (diff)
netsniff-ng: Check return value of poll()
The return value of two calls to poll() are never check, despite the (unlikely) possibility of them returning an error, fix it by checking the return value and panic()ing on error. This issue was discovered using the Coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curve.c')
0 files changed, 0 insertions, 0 deletions
next.git/diff/arch/arm/boot/dts/pxa3xx.dtsi?h=nds-private-remove&id=15c2e102412d95af4fe88e5b28b3eba124545bbf&id2=2cbf5b4212b1595449548f189a8fb2df0b25a03f'>diff)
ARM: orion: remove unused wnr854t_switch_plat_data
The other instances of this structure got removed along with the MDIO device change, but this one was left behind and needs to be removed as well: arch/arm/mach-orion5x/wnr854t-setup.c:109:44: error: 'wnr854t_switch_plat_data' defined but not used [-Werror=unused-variable] static struct dsa_platform_data __initdata wnr854t_switch_plat_data = { Fixes: 575e93f7b5e6 ("ARM: orion: Register DSA switch as a MDIO device") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/pxa3xx.dtsi')