Project

General

Profile

Actions

Bug #12642

closed

n2rng: 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/n2rng/n2rng.c: In function 'n2rng_check_ctl_access':
    ../../sun4v/io/n2rng/n2rng.c:948: error: passing argument 1 of 'hv_rng_ctl_read_v2' makes integer from pointer without a cast
    ../../sun4v/sys/n2rng.h:357: note: expected 'uint64_t' but argument is of type 'void *'

    ../../sun4v/io/n2rng/n2rng_kcf.c: In function 'n2rng_register_provider':
    ../../sun4v/io/n2rng/n2rng_kcf.c:210: error: assignment makes integer from pointer without a cast
    ../../sun4v/io/n2rng/n2rng_kcf.c: In function 'n2rng_unregister_provider':
    ../../sun4v/io/n2rng/n2rng_kcf.c:239: error: assignment makes integer from pointer without a cast

Actions

Also available in: Atom PDF