openwrt/target/linux/ramips/files/drivers
Christian Marangi 7f54fa575b
ramips: mt7620: handle request_irq fail in gsw ethernet driver
Handle return from request_irq in gsw ethernet driver.
Fix compilation warning:
drivers/net/ethernet/ralink/gsw_mt7620.c: In function 'mtk_gsw_init':
drivers/net/ethernet/ralink/gsw_mt7620.c:236:17: error: ignoring return value of 'request_irq' declared with attribute 'warn_unused_result' [-Werror=unused-result]
  236 |                 request_irq(gsw->irq, gsw_interrupt_mt7620, 0,
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  237 |                             "gsw", priv);
      |                             ~~~~~~~~~~~~
cc1: all warnings being treated as errors

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:37 +02:00
..
mmc/host/mtk-mmc ramips: fix kernel module build errors on linux 5.15 2022-03-28 11:03:13 +02:00
mtd/nand/raw ramips: skip bbt scan on mt7621 2022-03-25 21:11:09 +01:00
net/ethernet/ralink ramips: mt7620: handle request_irq fail in gsw ethernet driver 2023-05-12 03:15:37 +02:00
pinctrl ramips: aw9523: add can_sleep flag for GPIO chip 2021-12-29 03:43:03 +01:00