Project

General

Profile

Actions

Bug #10625

closed

physmem: NULL pointer error

Added by Toomas Soome about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
2019-04-01
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Build errors with NULL pointer:

    ../../common/io/physmem.c: In function 'physmem_map_addrs':
    ../../common/io/physmem.c:484:16: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       pmpp->ret_va = NULL;
                    ^
    ../../common/io/physmem.c:511:16: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       pmpp->ret_va = NULL;
                    ^
    cc1: all warnings being treated as errors

Actions #1

Updated by Electric Monk about 3 years ago

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

git commit 12e9eaaed8879c4b56117e0ea40df0a2d2e16b0e

commit  12e9eaaed8879c4b56117e0ea40df0a2d2e16b0e
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-09T19:16:16.000Z

    10625 physmem: NULL pointer error
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Gergő Doma <domag02@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF