Project

General

Profile

Feature #10573

define TASKQID_INVALID as (taskq_id)0

Added by Toomas Soome 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2019-03-20
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

We do have taskqid_t taskq_dispatch() and the result of this function is compared with 0, NULL and combined with type casts. Define TASKQID_INVALID (taskq_id)0 and use TASKQID_INVALID everywhere.

History

#1

Updated by Electric Monk 6 months ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

git commit fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d

commit  fc8ae2ec4282de7ec96f48e11078345f3dc0ac3d
Author: Toomas Soome <tsoome@me.com>
Date:   2019-03-28T14:47:03.000Z

    10573 define TASKQID_INVALID as (taskq_id)0
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF