Project

General

Profile

Actions

Bug #12660

closed

ontario: 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 pointers:

    ../../../sun4v/ontario/io/tsalarm.c: In function 'tsalarm_attach':
    ../../../sun4v/ontario/io/tsalarm.c:413: error: passing argument 6 of 'ddi_create_minor_node' makes integer from pointer without a cast
    ../../../common/sys/sunddi.h:1577: note: expected 'int' but argument is of type 'void *'
    ../../../sun4v/ontario/io/tsalarm.c: In function 'glvc_alarm_get':
    ../../../sun4v/ontario/io/tsalarm.c:752: error: assignment makes integer from pointer without a cast
    ../../../sun4v/ontario/io/tsalarm.c: In function 'glvc_alarm_set':
    ../../../sun4v/ontario/io/tsalarm.c:827: error: assignment makes integer from pointer without a cast

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 afcb81194ea4372157c39b75a016574dcd6a81ee

commit  afcb81194ea4372157c39b75a016574dcd6a81ee
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-09T15:13:29.000Z

    12660 ontario: NULL pointer errors
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Approved by: Garrett D'Amore <garrett@damore.org>

Actions

Also available in: Atom PDF