Actions
Bug #10713
closedfp: NULL pointer errors
Start date:
2019-04-10
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
NULL pointer errors:
../../common/io/fibre-channel/impl/fp.c: In function 'fp_unsol_cb': ../../common/io/fibre-channel/impl/fp.c:10905:56: error: pointer/integer type mismatch in conditional expression [-Werror] cb_arg = (rscn_count == FC_INVALID_RSCN_COUNT) ? NULL : rscn_count; ^ ../../common/io/fibre-channel/impl/fp.c:10905:9: error: assignment makes integer from pointer without a cast [-Werror=int-conversion] cb_arg = (rscn_count == FC_INVALID_RSCN_COUNT) ? NULL : rscn_count; ^ cc1: all warnings being treated as errors
Actions