]> git.karo-electronics.de Git - karo-tx-linux.git/commit
NET: MIPS: Lantiq: Return value of request_irq was not handled gracefully
authorJohn Crispin <blogic@openwrt.org>
Tue, 17 Jan 2012 13:26:15 +0000 (14:26 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 26 Apr 2012 23:26:27 +0000 (00:26 +0100)
commit8923d6cec70d47284bb1bf10bd076ca219eb6142
treeb0005c937b4b539ec580810f8f5becfeb87c1755
parentbc3bff8703c8c0c46e925d94517cc073a6636618
NET: MIPS: Lantiq: Return value of request_irq was not handled gracefully

The return values of request_irq() were not checked leading to the following
error message.

drivers/net/ethernet/lantiq_etop.c: In function 'ltq_etop_hw_init':
drivers/net/ethernet/lantiq_etop.c:368:15: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
drivers/net/ethernet/lantiq_etop.c:377:15: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result

Signed-off-by: John Crispin <blogic@openwrt.org>
Acked-by: David S. Miller <davem@davemloft.net>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3275/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/net/ethernet/lantiq_etop.c