Project

General

Profile

Bug #10717

usbgem: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-10
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../../common/io/usbgem/usbgem.c: In function 'usbgem_tx_watcher_stop':
    ../../common/io/usbgem/usbgem.c:1007:22: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       dp->tx_watcher_did = NULL;
                          ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 7 months ago

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

git commit 485f90e999c14cf930437352b290676f9e89aa60

commit  485f90e999c14cf930437352b290676f9e89aa60
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-19T21:30:04.000Z

    10717 usbgem: NULL pointer errors
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF