aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/zynq/image
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2023-05-07 09:57:01 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-05-12 03:15:40 +0200
commit8aa786d9a78a7c4422043206ece21f47e01529e6 (patch)
treeeb7bff146ee65d3e025c6b38a32c097eeeb9a335 /target/linux/zynq/image
parent1a0e9bc3b87bf2ebe89f4ed39b3219e975f76200 (diff)
downloadupstream-8aa786d9a78a7c4422043206ece21f47e01529e6.tar.gz
upstream-8aa786d9a78a7c4422043206ece21f47e01529e6.tar.bz2
upstream-8aa786d9a78a7c4422043206ece21f47e01529e6.zip
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>
Diffstat (limited to 'target/linux/zynq/image')
0 files changed, 0 insertions, 0 deletions