Project

General

Profile

Bug #11161

udapl: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../common/dapl_evd_util.c: In function 'dapls_evd_copy_events':
    ../common/dapl_evd_util.c:1551:33: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
        dapl_evd_connection_callback((ib_cm_handle_t)
                                     ^
    ../tavor/dapl_tavor_ibtf_util.c: In function 'dapls_ib_mw_unbind':
    ../tavor/dapl_tavor_ibtf_util.c:1243:6: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
          (DAT_VADDR)NULL, (DAT_VLEN)0, (DAT_MEM_PRIV_FLAGS)NULL,
          ^
    cc1: all warnings being treated as errors

History

#1

Updated by Toomas Soome 5 months ago

  • Subject changed from udapl: NNULL pointer errors to udapl: NULL pointer errors
#2

Updated by Electric Monk 3 months ago

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

git commit 41d4805f3c6abade283ec1c338ef8c94ef6f4fd4

commit  41d4805f3c6abade283ec1c338ef8c94ef6f4fd4
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-03T07:44:26.000Z

    11161 udapl: NULL pointer errors
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF