Actions
Bug #10751
closedemlxs: NULL pointer errors
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