Project

General

Profile

Actions

Bug #10671

closed

bnxe: NULL pointer errors

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    In file included from ../../common/sys/param.h:48:0,
                     from ../../common/sys/t_lock.h:38,
                     from ../../common/sys/thread.h:36,
                     from ../../common/sys/poll.h:101,
                     from ../../common/sys/stream.h:42,
                     from ../../common/io/bnxe/bnxe.h:43,
                     from ../../common/io/bnxe/bnxe_fcoe.c:35:
    ../../common/io/bnxe/bnxe_fcoe.c: In function 'BnxeFcoePrvPoll':
    ../../common/sys/null.h:32:14: error: incompatible types when returning type 'void *' but 'boolean_t {aka enum <anonymous>}' was expected
     #define NULL ((void *)0)
                  ^
    ../../common/io/bnxe/bnxe_fcoe.c:1354:16: note: in expansion of macro 'NULL'
             return NULL;
                    ^
    *** Error code 1

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit 87f90db88e11450dae14066aad4712c4798415c2

commit  87f90db88e11450dae14066aad4712c4798415c2
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-10T06:30:58.000Z

    10671 bnxe: NULL pointer errors
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF