Project

General

Profile

Actions

Bug #12560

closed

zsh: 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:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    ../../sun/io/zs_hdlc.c: In function 'zsh_attach':
    ../../sun/io/zs_hdlc.c:409: error: passing argument 4 of 'ddi_create_minor_node' makes integer from pointer without a cast
    ../../common/sys/sunddi.h:1571: note: expected 'minor_t' but argument is of type 'void *'
    ../../sun/io/zs_hdlc.c:420: 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 *'
    ../../sun/io/zs_hdlc.c:427: 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 *'
    ../../sun/io/zs_hdlc.c: In function 'zsh_open':
    ../../sun/io/zs_hdlc.c:562: 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 87e3123fcf08cf5c377d6a69a15ea9f22d06d024

commit  87e3123fcf08cf5c377d6a69a15ea9f22d06d024
Author: Toomas Soome <tsoome@me.com>
Date:   2020-04-27T17:19:42.000Z

    12560 zsh: NULL pointer errors
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Reviewed by: Yuri Pankov <ypankov@fastmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF