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

Also available in: Atom PDF