Project

General

Profile

Bug #10776

nfs_dlboot: 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-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

NULL pointer errors:

    ../../common/fs/nfs/nfs_dlinet.c: In function 'pmap_kgetport':
    ../../common/fs/nfs/nfs_dlinet.c:1979:31: error: comparison between pointer and integer [-Werror]
        if ((ua != NULL) && (ua[0] != 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 ad2568571a9e0fa82fbc020b1a971ac51dc4dad0

commit  ad2568571a9e0fa82fbc020b1a971ac51dc4dad0
Author: Toomas Soome <tsoome@me.com>
Date:   2019-04-19T19:34:13.000Z

    10776 nfs_dlboot: NULL pointer errors
    Reviewed by: Andy Stormont <astormont@racktopsystems.com>
    Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF