Project

General

Profile

Bug #11347

isainfo: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

    isainfo.c: In function 'report_hwcap':
    isainfo.c:167:25: error: comparison between pointer and integer [-Werror]
       if (cgh->cgh_hwcap[1] != NULL)
                             ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 3 months ago

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

git commit 08cab4be4299a328b9f434f66247c070e06b5845

commit  08cab4be4299a328b9f434f66247c070e06b5845
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-12T06:08:55.000Z

    11347 isainfo: NULL pointer errors
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF