openwrt/target/linux/realtek
Christian Marangi 8aa786d9a7
realtek: 5.15: fix uninizialized variable in rtl83xx qos driver
Fix uninizialized variable in rtl83xx qos driver
Fix compilation error:
drivers/net/dsa/rtl83xx/qos.c: In function 'rtl838x_setup_prio2queue_matrix':
drivers/net/dsa/rtl83xx/qos.c:298:19: error: 'v' is used uninitialized [-Werror=uninitialized]
  298 |                 v |= i << (min_queues[i] * 3);
      |                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/rtl83xx/qos.c:294:13: note: 'v' was declared here
  294 |         u32 v;
      |             ^
drivers/net/dsa/rtl83xx/qos.c: In function 'rtl83xx_setup_prio2queue_cpu_matrix':
drivers/net/dsa/rtl83xx/qos.c:320:19: error: 'v' is used uninitialized [-Werror=uninitialized]
  320 |                 v |= max_queues[i] << (i * 3);
      |                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/rtl83xx/qos.c:316:13: note: 'v' was declared here
  316 |         u32 v;
      |             ^
cc1: all warnings being treated as errors
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-12 03:15:40 +02:00
..
base-files realtek: add support for TP-Link SG2210P 2022-09-13 09:22:26 +02:00
dts-5.10 realtek: hpe_1920-8g: add phy-handle for SFP ports 2023-04-30 21:59:26 +02:00
dts-5.15 realtek: hpe_1920-8g: add phy-handle for SFP ports 2023-04-30 21:59:26 +02:00
files/firmware/rtl838x_phy
files-5.10 realtek: remove redundant is_lagmember checks 2023-05-07 19:16:07 +02:00
files-5.15 realtek: 5.15: fix uninizialized variable in rtl83xx qos driver 2023-05-12 03:15:40 +02:00
image realtek: Fix typo for EnGenius EWS2910P 2023-04-07 11:22:37 +02:00
patches-5.10 realtek: adapt patch description to it's current use 2023-05-06 07:15:37 +02:00
patches-5.15 realtek: 5.15: fix warning for i2c_mii_valid_phy_id and i2c_mii_phy_addr 2023-05-12 03:15:40 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
rtl839x kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
rtl930x kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
rtl931x kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
Makefile realtek: switch to Kernel 5.15 by default 2023-03-14 18:47:00 +01:00