10385 ntxn: NULL pointer errors

Review Request #1460 - Created Feb. 11, 2019 and submitted

Information
Toomas Soome
illumos-gate
10385
ae96cec...
Reviewers
general
../../common/io/ntxn/unm_nic_main.c: In function 'unm_free_hw_resources':
../../common/io/ntxn/unm_nic_main.c:333:33: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
   adapter->ahw.cmdDesc_physAddr = NULL;
                                 ^
../../common/io/ntxn/unm_nic_main.c:347:25: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
     rcv_desc->phys_addr = NULL;
                         ^
../../common/io/ntxn/unm_nic_main.c:355:37: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
    recv_ctx->rcvStatusDesc_physAddr = NULL;
                                     ^
cc1: all warnings being treated as errors

  
Andy Fiddaman
Andrew Stormont
Gergő Mihály Doma
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...