Project

General

Profile

Bug #10380

audio: NULL pointer errors

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

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build error with NULL pointer:

    ../../common/io/audio/impl/audio_ddi.c: In function 'audio_attach':
    ../../common/io/audio/impl/audio_ddi.c:74:31: error: comparison between pointer and integer [-Werror]
      if (audio_dev_register(adev) != NULL) {
                                   ^~
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 10 months ago

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

git commit 17f657671500d0975faf35efba082b9716a67e48

commit  17f657671500d0975faf35efba082b9716a67e48
Author: Toomas Soome <tsoome@me.com>
Date:   2019-02-16T07:46:35.000Z

    10380 audio: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Robert Mustacchi <rm@joyent.com>

Also available in: Atom PDF