]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/mips/cavium-octeon/executive/cvmx-pko.c
MIPS: fix some more fall through errors in arch/mips
[linux.git] / arch / mips / cavium-octeon / executive / cvmx-pko.c
index 676fab50dd2b0e3acf31c3599bfeb2e3e2f08894..b077597c668a998efc3caf2be9b47caee8874118 100644 (file)
@@ -485,11 +485,11 @@ cvmx_pko_status_t cvmx_pko_config_port(uint64_t port, uint64_t base_queue,
                        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;
                        }
+                       /* fall through - to the error case, when Pass 1 */
                default:
                        cvmx_dprintf("ERROR: cvmx_pko_config_port: Invalid "
                                     "priority %llu\n",