Project

General

Profile

Actions

Bug #10632

closed

pm: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    ../../common/io/pm.c: In function 'pm_ioctl':
    ../../common/io/pm.c:1088:20: error: comparison between pointer and integer [-Werror]
         if (req32.data != NULL) {
                        ^~
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit 3aedb073327854aba1e08f2cd606208552e0ea55

commit  3aedb073327854aba1e08f2cd606208552e0ea55
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-10T05:48:13.000Z

    10632 pm: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF