Actions
Bug #10385
closedntxn: NULL pointer errors
Start date:
2019-02-11
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
Description
Build error with NULL pointer:
../../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
Updated by Electric Monk over 3 years ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
git commit 8f61ab7ac12fb355f5fddb909e48dc7b6f1c152b
commit 8f61ab7ac12fb355f5fddb909e48dc7b6f1c152b Author: Toomas Soome <tsoome@me.com> Date: 2019-02-16T07:54:34.000Z 10385 ntxn: NULL pointer errors Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Gergő Mihály Doma <domag02@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
Actions