Project

General

Profile

Actions

Bug #10751

closed

emlxs: 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-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

NULL pointer errors:

    ../../common/io/fibre-channel/fca/emlxs/emlxs_solaris.c: In function 'emlxs_fca_ub_alloc':
    ../../common/io/fibre-channel/fca/emlxs/emlxs_solaris.c:3027:24: error: comparison between pointer and integer [-Werror]
      for (i = 0; tokens[i] != NULL; i++) {
                            ^~
    ../../common/io/fibre-channel/fca/emlxs/emlxs_solaris.c: In function 'emlxs_fm_service_impact':
    ../../common/io/fibre-channel/fca/emlxs/emlxs_solaris.c:12168:13: error: comparison between pointer and integer [-Werror]
      if (impact == 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 90 to 100

git commit 8bb4c5a67764c8a0df567cc03efc53aae5136ab8

commit  8bb4c5a67764c8a0df567cc03efc53aae5136ab8
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-18T05:51:59.000Z

    10751 emlxs: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF