Project

General

Profile

Actions

Bug #12644

closed

vdc: 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:
Bite-size
Tags:
Gerrit CR:

Description

Build errors on SPARC with NULL pointers:

    ../../sun4v/io/vdc.c: In function 'vdc_terminate_ldc':
    ../../sun4v/io/vdc.c:2579: error: assignment makes integer from pointer without a cast
    ../../sun4v/io/vdc.c: In function 'vdc_init_descriptor_ring':
    ../../sun4v/io/vdc.c:2685: error: comparison between pointer and integer
    ../../sun4v/io/vdc.c: In function 'vdc_destroy_descriptor_ring':
    ../../sun4v/io/vdc.c:2776: error: initialization makes integer from pointer without a cast
    ../../sun4v/io/vdc.c:2793: error: comparison between pointer and integer
    ../../sun4v/io/vdc.c:2806: error: assignment makes integer from pointer without a cast
    ../../sun4v/io/vdc.c:2816: error: assignment makes integer from pointer without a cast
    ../../sun4v/io/vdc.c:2844: error: assignment makes integer from pointer without a cast
    ../../sun4v/io/vdc.c: In function 'vd_process_ioctl':
    ../../sun4v/io/vdc.c:7583: error: comparison between pointer and integer

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 29368e865707707ba77989693d34358ebfa08757

commit  29368e865707707ba77989693d34358ebfa08757
Author: Toomas Soome <tsoome@me.com>
Date:   2020-05-11T17:58:07.000Z

    12644 vdc: NULL pointer errors
    Reviewed by: Peter Tribble <peter.tribble@gmail.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF