Project

General

Profile

Actions

Bug #10733

closed

specfs: NULL pointer errors

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
filesystems (not ZFS)
Start date:
2019-04-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

NULL pointer errors:

    ../../common/fs/specfs/specsubr.c: In function 'specvp':
    ../../common/fs/specfs/specsubr.c:161:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       sp->s_nextr = NULL;
                   ^
    ../../common/fs/specfs/specsubr.c: In function 'makespecvp':
    ../../common/fs/specfs/specsubr.c:239:14: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
      sp->s_nextr = NULL;
                  ^
    ../../common/fs/specfs/specsubr.c: In function 'get_cvp':
    ../../common/fs/specfs/specsubr.c:556:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       sp->s_nextr = NULL;
                   ^
    ../../common/fs/specfs/specsubr.c: In function 'commonvp':
    ../../common/fs/specfs/specsubr.c:602:15: error: assignment makes integer from pointer without a cast [-Werror=int-conversion]
       sp->s_nextr = NULL;
                   ^
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF