diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-06 23:21:27 +0200 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-12 03:15:39 +0200 |
commit | 4ea21e31610d59ee5cf840f601338e32181d3d40 (patch) | |
tree | 1edee96093e4340f440a360490bcfc64cc3f2acf /tools/flex/patches | |
parent | 3fa87858a790008b145b6ef41e0476a36c256143 (diff) | |
download | openwrt-4ea21e31610d59ee5cf840f601338e32181d3d40.tar.gz openwrt-4ea21e31610d59ee5cf840f601338e32181d3d40.tar.bz2 openwrt-4ea21e31610d59ee5cf840f601338e32181d3d40.zip |
ralink: mt76x8: fix compilation warning in esw driver
Fix compilation warning for debug string in esw driver:
drivers/net/ethernet/ralink/esw_rt3050.c:1535:9: note: in expansion of macro 'dev_info'
1535 | dev_info(&pdev->dev, "mediatek esw at 0x%08lx, irq %d initialized\n",
| ^~~~~~~~
drivers/net/ethernet/ralink/esw_rt3050.c:1535:53: note: format string is defined here
1535 | dev_info(&pdev->dev, "mediatek esw at 0x%08lx, irq %d initialized\n",
| ~~~~^
| |
| long unsigned int
| %08p
cc1: all warnings being treated as errors
Fix unused variable causing compilation warning:
drivers/net/ethernet/ralink/esw_rt3050.c: In function 'esw_interrupt':
drivers/net/ethernet/ralink/esw_rt3050.c:769:13: error: unused variable 'i' [-Werror=unused-variable]
769 | int i;
| ^
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to 'tools/flex/patches')
0 files changed, 0 insertions, 0 deletions