Project

General

Profile

Bug #10385

ntxn: NULL pointer errors

Added by Toomas Soome 5 months ago. Updated 5 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-02-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

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

History

#1

Updated by Electric Monk 5 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

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>

Also available in: Atom PDF