forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/arch/mips/cavium-octeon/executive/cvmx-pko.c
....@@ -485,11 +485,11 @@
485485 config.s.qos_mask = 0xff;
486486 break;
487487 case CVMX_PKO_QUEUE_STATIC_PRIORITY:
488
- /* Pass 1 will fall through to the error case */
489488 if (!cvmx_octeon_is_pass1()) {
490489 config.s.qos_mask = 0xff;
491490 break;
492491 }
492
+ fallthrough; /* to the error case, when Pass 1 */
493493 default:
494494 cvmx_dprintf("ERROR: cvmx_pko_config_port: Invalid "
495495 "priority %llu\n",