Project

General

Profile

Bug #11118

libhotplug: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../common/libhotplug.c: In function 'hp_last_change':
    ../common/libhotplug.c:348:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
       return (NULL);
              ^
    ../common/libhotplug.c:355:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
       return (NULL);
              ^
    ../common/libhotplug.c: In function 'hp_unpack':
    ../common/libhotplug.c:797:10: error: return makes integer from pointer without a cast [-Werror=int-conversion]
       return (NULL);
              ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 4 months ago

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

git commit ae7ff7d6ac239648a2579a0de5a0a1be3d4e10e6

commit  ae7ff7d6ac239648a2579a0de5a0a1be3d4e10e6
Author: Toomas Soome <tsoome@me.com>
Date:   2019-06-18T18:53:54.000Z

    11118 libhotplug: NULL pointer errors
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF