Project

General

Profile

Bug #10742

FX: NULL pointer errors

Added by Toomas Soome 7 months ago. Updated 7 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../../common/disp/fx.c: In function 'fx_enterclass':
    ../../common/disp/fx.c:457:18: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
      fxpp->fx_cookie = NULL;
                      ^
    ../../common/disp/fx.c: In function 'fx_exit':
    ../../common/disp/fx.c:558:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       fxpp->fx_cookie = NULL;
                       ^
    ../../common/disp/fx.c: In function 'fx_exitclass':
    ../../common/disp/fx.c:581:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       fxpp->fx_cookie = NULL;
                       ^
    ../../common/disp/fx.c: In function 'fx_fork':
    ../../common/disp/fx.c:624:19: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
      cfxpp->fx_cookie = NULL;
                       ^
    ../../common/disp/fx.c: In function 'fx_unregister_callbacks':
    ../../common/disp/fx.c:1773:18: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
      fxpp->fx_cookie = NULL;
                      ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 7 months ago

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

git commit 34b7c4d5ed09dce871320048afc0504a83418744

commit  34b7c4d5ed09dce871320048afc0504a83418744
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-19T22:16:19.000Z

    10742 FX: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF