Project

General

Profile

Actions

Bug #12638

closed

ntwdt: NULL pointer errors

Added by Toomas Soome over 3 years ago. Updated over 3 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:
External Bug:

Description

Build errors on SPARC with NULL pointers:

    ../../sun4v/io/ntwdt.c: In function 'ntwdt_attach':
    ../../sun4v/io/ntwdt.c:317: 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 over 3 years ago

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

git commit 424a9dabffff3ee7b75ad66819578b015c7e72d0

commit  424a9dabffff3ee7b75ad66819578b015c7e72d0
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-10T06:58:14.000Z

    12638 ntwdt: NULL pointer errors
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Gordon Ross <gordon.w.ross@gmail.com>

Actions

Also available in: Atom PDF