KERNEL_DEBUG(0xefffd008 | DBG_FUNC_NONE, (int)item, 0, 0, 0, 0);
+ if ((prio < 0) || (prio >= 5))
+ return (EINVAL);
+
workqueue_lock_spin(p);
if ((wq = (struct workqueue *)p->p_wqptr) == NULL) {
break;
case WQOPS_QUEUE_REMOVE: {
+ if ((prio < 0) || (prio >= 5))
+ return (EINVAL);
+
workqueue_lock_spin(p);
if ((wq = (struct workqueue *)p->p_wqptr) == NULL) {