Project

General

Profile

Actions

Bug #12561

closed

rootnex: NULL pointer errors

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

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

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    ../../sun4u/io/mach_rootnex.c: In function 'rootnex_add_intr_impl':
    ../../sun4u/io/mach_rootnex.c:109: error: passing argument 3 of 'ddi_getproplen' makes integer from pointer without a cast
    ../../common/sys/sunddi.h:920: note: expected 'int' but argument is of type 'void *'
    ../../sun4u/io/mach_rootnex.c: In function 'rootnex_remove_intr_impl':
    ../../sun4u/io/mach_rootnex.c:180: error: passing argument 3 of 'ddi_getproplen' makes integer from pointer without a cast
    ../../common/sys/sunddi.h:920: note: expected 'int' but argument is of type 'void *'

Actions #1

Updated by Electric Monk about 2 years ago

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

git commit d35ce8d71dd4f0ec672492fe393e3d5af4145a48

commit  d35ce8d71dd4f0ec672492fe393e3d5af4145a48
Author: Toomas Soome <tsoome@me.com>
Date:   2020-04-27T17:26:03.000Z

    12561 rootnex: NULL pointer errors
    Reviewed by: Yuri Pankov <ypankov@fastmail.com>
    Reviewed by: Patrick Mooney <pmooney@pfmooney.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF