diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-06 23:24:46 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:39 +0200 |
commit | 82afdf6056e747b0780511fb149e57d5247e6daf (patch) | |
tree | 96f9703a176df6c901dc2858976eae83a98f72b6 /target/linux/bcm53xx/patches-5.10/035-v5.18-0001-ARM-dts-BCM5301X-define-RTL8365MB-switch-on-Asus-RT-.patch | |
parent | 4ea21e31610d59ee5cf840f601338e32181d3d40 (diff) | |
download | upstream-82afdf6056e747b0780511fb149e57d5247e6daf.tar.gz upstream-82afdf6056e747b0780511fb149e57d5247e6daf.tar.bz2 upstream-82afdf6056e747b0780511fb149e57d5247e6daf.zip |
ralink: rt3833: fix compilation warning from device_reset in fe_probe
Fix compilation warning from device_reset in fe_probe. On fail print a
warning but don't fail probe.
Fix compilation warning:
drivers/net/ethernet/ralink/mtk_eth_soc.c: In function 'fe_probe':
drivers/net/ethernet/ralink/mtk_eth_soc.c:1564:9: error: ignoring return value of 'device_reset' declared with attribute 'warn_unused_result' [-Werror=unused-result]
1564 | device_reset(&pdev->dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'target/linux/bcm53xx/patches-5.10/035-v5.18-0001-ARM-dts-BCM5301X-define-RTL8365MB-switch-on-Asus-RT-.patch')
0 files changed, 0 insertions, 0 deletions