From 01573e231f18eb2d99162747186f59511f56b64d Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Fri, 08 Dec 2023 10:40:48 +0000 Subject: [PATCH] 移去rt --- kernel/arch/mips/cavium-octeon/executive/cvmx-pko.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/arch/mips/cavium-octeon/executive/cvmx-pko.c b/kernel/arch/mips/cavium-octeon/executive/cvmx-pko.c index 676fab5..b0efc35 100644 --- a/kernel/arch/mips/cavium-octeon/executive/cvmx-pko.c +++ b/kernel/arch/mips/cavium-octeon/executive/cvmx-pko.c @@ -485,11 +485,11 @@ config.s.qos_mask = 0xff; break; case CVMX_PKO_QUEUE_STATIC_PRIORITY: - /* Pass 1 will fall through to the error case */ if (!cvmx_octeon_is_pass1()) { config.s.qos_mask = 0xff; break; } + fallthrough; /* to the error case, when Pass 1 */ default: cvmx_dprintf("ERROR: cvmx_pko_config_port: Invalid " "priority %llu\n", -- Gitblit v1.6.2