Project

General

Profile

Actions

Bug #10087

closed

atge_attach() doesn't need to check for kmem_zalloc() success

Added by John Levon almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-12-19
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

smatch noticed that it's silly to check for a NULL from a KM_SLEEP allocation.

Actions #1

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 80e3e2368f7911a78a5f2f1a961052b37f3a76d0

commit  80e3e2368f7911a78a5f2f1a961052b37f3a76d0
Author: John Levon <john.levon@joyent.com>
Date:   2019-01-17T16:05:13.000Z

    10087 atge_attach() doesn't need to check for kmem_zalloc() success
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF