diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-06 22:38:42 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:37 +0200 |
commit | 7f54fa575b33d266f91f67dbb9a0c2c0af7aca7e (patch) | |
tree | fdf32e2a3197b99a7aced12bf9b3666b1cc3ac17 /target/linux/ramips/patches-5.10/805-pinctrl-AW9523.patch | |
parent | b545df5cfd4a8d4cb6656ac79a5cfc0eed9971c0 (diff) | |
download | upstream-7f54fa575b33d266f91f67dbb9a0c2c0af7aca7e.tar.gz upstream-7f54fa575b33d266f91f67dbb9a0c2c0af7aca7e.tar.bz2 upstream-7f54fa575b33d266f91f67dbb9a0c2c0af7aca7e.zip |
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>
Diffstat (limited to 'target/linux/ramips/patches-5.10/805-pinctrl-AW9523.patch')
0 files changed, 0 insertions, 0 deletions