Project

General

Profile

Actions

Bug #12656

closed

ngdr: 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:

    cc1: warnings being treated as errors
    ../../../sun4u/ngdr/io/dr.c: In function 'dr_attach':
    ../../../sun4u/ngdr/io/dr.c:771: 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 *'

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 c3937c08b16d32677a7dc955a81325f2e7a61b5d

commit  c3937c08b16d32677a7dc955a81325f2e7a61b5d
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-08T16:14:37.000Z

    12656 ngdr: NULL pointer errors
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF