Project

General

Profile

Actions

Bug #12630

closed

excalibur: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

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

Description

Build errors on SPARC with NULL pointer:

    ../../../sun4u/excalibur/os/excalibur.c: In function 'startup_platform':
    ../../../sun4u/excalibur/os/excalibur.c:69: error: incompatible type for argument 3 of 'mutex_init'
    ../../../common/sys/mutex.h:88: note: expected 'kmutex_type_t' but argument is of type 'void *'

    ../../../sun4u/excalibur/io/xcalwd.c: In function 'xcalwd_attach':
    ../../../sun4u/excalibur/io/xcalwd.c:258: error: passing argument 6 of 'ddi_create_minor_node' makes integer from pointer without a cast
    ../../../common/sys/sunddi.h:1571: 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 9d86952736be4a2132ea65d76b3dde43dc999f9e

commit  9d86952736be4a2132ea65d76b3dde43dc999f9e
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-10T07:45:19.000Z

    12630 excalibur: NULL pointer errors
    Reviewed by: C Fraire <cfraire@me.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF